piankabio {pgirmess}R Documentation

Computes the Pianka's index of niche overlap

Description

Computes the Pianka's index of niche overlap

Usage

piankabio(dataframe1, dataframe2)

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

Value

Return the Pianka's index

Author(s)

Patrick Giraudoux <pgiraudo@univ-fcomte.fr>

References

to do

See Also

piankabioboot

Examples


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

piankabio(jackal,genet)
  

[Package pgirmess version 1.3.8 Index]