Displaying 1 result from an estimated 1 matches for "taxind".
Did you mean:
taxing
2010 Aug 05
2
try-error within for loop
...(s>1000,s/10,s)
taxa<-taxa2dist(hier[sample(s,replace=F),])
abd<-t(cbind(c(1:s),rep(1,s)))
taxdiv<-taxondiveO(abd,taxa)
if(class(result)=="try-error") result[[i]] <- NA
else result[[i]] <-taxdiv #it doesnt work
result[[i]]<-as.data.frame(result[[i]])[1,]},silent=T)
taxind<-do.call(rbind,result)
taxind[1:5,]
number D Dstar Lambda Dplus SDplus
1 589 94.72456 94.93875 142.4468 94.88140 55885.15
2 428 80.38656 80.63660 328.7728 80.90432 34627.05
3 282 88.03613 88.45139 332.8963 88.53554 24967.02
4 1320 80.43822 80.51943 328.1416 8...