You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I use the Whittaker revisit data to run this code:
for (i in 1:n){
for (j in 1:ns){
row = data$site==sites[i] & data$species==
species[j]
Y[i,j] = data[row,]$value
env[i] = data[row,]$env
trait[j] = data[row,]$trait
}
} I encounter the following error:
Error in [<-(*tmp*, i, j, value = data[row, ]$value) : subscript out of bounds whittaker revisit data.csv
The text was updated successfully, but these errors were encountered:
When I use the Whittaker revisit data to run this code:
for (i in 1:n){
for (j in 1:ns){
row = data$site==sites[i] & data$species==
species[j]
Y[i,j] = data[row,]$value
env[i] = data[row,]$env
trait[j] = data[row,]$trait
}
}
I encounter the following error:
Error in
[<-
(*tmp*
, i, j, value = data[row, ]$value) : subscript out of boundswhittaker revisit data.csv
The text was updated successfully, but these errors were encountered: