difshannonbio: Empirical confidence interval of the bootstrap of the difference between two Shannon indices
Description
Computes the empirical confidence interval of the bootstrap of the difference between two Shannon indices
Usage
difshannonbio(dat1, dat2, R = 1000, probs = c(0.025, 0.975))
Value
A list with the confidence interval of H' and J'
Arguments
dat1
a data.frame of two columns; column = category, column 2 = biomass
dat2
a data.frame of two columns; column = category, column 2 = biomass
R
number of permutations
probs
the limits of the confidence interval
Details
Designated to compare the difference between two Shannon's indices computed from two data frames. In each data frame, the first column is the category of prey item, and the second column the estimated biomass.