-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
incorrect number of subscripts #49
Comments
Have you find a solution to this problem? I'm getting the same error. Similar to your problem, this is a script that used to work.
|
I did solve the problem but didn’t post it. Put your matrix in a list and it should work. It appears that you can not directly use a matrix anymore but has to be a list of matrixes. I think it should be ok to just have one but this actually helped me more as I had several curves I was making so I am able to do run them together instead of individually.
Good luck.
… On Jul 4, 2020, at 4:03 AM, Carlos Zambrana-Torrelio ***@***.***> wrote:
Have you find a solution to this problem? I'm getting the same error. Similar to your problem, this is a script that used to work.
Same error:
Error in arr[1, , ] <- t(as.matrix(ChaoSpecies(x, datatype, conf))) :
incorrect number of subscripts
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or unsubscribe.
|
Thank you! This was very helpful, converting the matrix to a list works. Also, there is an error when plotting the
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I have been trying to use the iNEXT function from the following code. This worked in version 2.0.13 in R x64 3.3.2. For some reason I get the follow error and I am not sure what the problem is. The best I can tell is that this error started when I updated my install versions.
points <- 400
acc_curve <- iNEXT(species_data_matrix,q=0, datatype = "incidence_raw", endpoint = points, nboot = 1000, knots = points, conf = 0.95)
Error in arr[1, , ] <- t(as.matrix(ChaoSpecies(x, datatype, conf))) :
incorrect number of subscripts
The data matrix is listed as species in the row name and site name in the column name with 0 or 1 for presence/ absence. I can try to upload the data if needed.
Thanks for any help.
Tony
The text was updated successfully, but these errors were encountered: