shannonbioboot {pgirmess} | R Documentation |
Boostrap Shannon's and equitability indices and return an object of class boot. Confidence intervals can be computed with boot.ci().
shannonbioboot(data1, B = 1000)
data1 |
a data frame of two columns: column 1, dietary category; column 2, abundance (n, biomass,...) |
B |
number of permutations |
Boostrap Shannon's and equitability indices and return an object of class boot. Confidence intervals can be computed with boot.ci(). Requires the boot library.
An object of class boot including the bootstrap statistics for H' (t1*) and J' (t2*)
Patrick Giraudoux <pgiraudo@univ-fcomte.fr
data(preybiom) myboot<-shannonbioboot(preybiom[,5:6],B=100) boot.ci(myboot, index=1,type=c("norm","basic","perc")) # confidence intervals for H' boot.ci(myboot, index=2,type=c("norm","basic","perc")) # confidence intervals for J'