Learn R Programming

pgirmess (version 2.0.3)

piankabio: Computes the Pianka's index of niche overlap

Description

Computes the Pianka's index of niche overlap

Usage

piankabio(dataframe1, dataframe2)

Value

Return the Pianka's index

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

Details

Computes the Pianka's index of niche overlap

References

Pianka R.D. 1973 The scructure of lizard communities. Annual Review of Ecology and Systematics, 4: 53-74.

Amroun M., Giraudoux P., Delattre P. 2006 Comparative study of the diets of two sympatric carnivores - the Jackal (Canis aureus) and the Genet (Genetta genetta) - at two sites in Kabylia, Algeria. Mammalia, 70 (3): 247-254

See Also

piankabioboot

Examples

Run this code

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

piankabio(jackal,genet)
  

Run the code above in your browser using DataLab