Skip to content
Prev 361845 / 398506 Next

replacement has 0 rows, data has 2809

Hi Humberto,
The "0 row" error usually arises from a calculation in which a
non-existent object is used. I see that you have created a vector with
the name "lens" and that may be where this is happening. Have a look
at:

length(lens)

or if it is not too long, just:

lens

If it is zero length, that is your problem. This might be due to
"data1" not having a column named "Length" or it may not contain
numeric values (i.e. a factor)..

Jim


On Sat, Jun 18, 2016 at 9:53 AM, Humberto Munoz Barona
<hmunoz40 at hotmail.com> wrote: