JohnsonHsieh / iNEXT

R package for interpolation and extrapolation
https://JohnsonHsieh.github.com/iNEXT
57 stars 26 forks source link

Problem to multiple sites #2

Closed jgomezd closed 9 years ago

jgomezd commented 9 years ago

Dear Dr. Hsieh,

I have 8 sites in my study area, my data are "incidence" and I tried to plot all the sites together with the ggiNEXT. But I have the following problem: Error in data.frame(do.call("rbind", z), site = rep(names(z), sapply(z, : arguments imply differing number of rows: 320, 0

I would appreciate your help.

jgomezd commented 9 years ago

I have made it. The problem was that I made a list without names, I only add the names to the list and then it was fixed.

Before: herbs= list(b0m, b500m, b1000m, b1500m, b2000m, b2500m, b3000m, b3500m)

After: herbs= list(b0m=b0m,b500m=b500m,b1000m=b1000m, b1500m=b1500m, b2000m=b2000m, b2500m=b2500m, b3000m=b3000m, b3500m=b3500m)

Sorry for the inconvenience.