piankabioboot {pgirmess}R Documentation

Bootstrap Pianka's index

Description

Bootstrap Pianka's index and return the limits of the empirical confidence interval specified with probs

Usage

piankabioboot(dataframe1, dataframe2, B = 1000, probs = c(0.025, 0.975))

Arguments

dataframe1

a data frame of two columns: column 1 = dietary category, column 2 = biomass

dataframe2

a data frame of two columns: column 1 = dietary category, column 2 = biomass

B

number of permutations

probs

the limits of the confidence interval

Details

Bootstrap Pianka's index and return the limits of the empirical confidence interval sepcified with probs

Value

a vector of the two CI limits

See Also

piankabio

Examples

data(preybiom)
attach(preybiom)
jackal<-preybiom[site=="Y" & sp=="C",5:6]
genet<-preybiom[site=="Y" & sp=="G",5:6]

piankabioboot(jackal,genet,B=100)
  

[Package pgirmess version 2.0.3 Index]