PDI(web, normalise=TRUE, log=FALSE)
FALSE
.specieslevel
.If P is interaction strength (typically interaction frequency or proportion depending on argument normalized
), then PDI for this species is computed as:
sum(P1 - Pi) /(H-1),
where P1 is the highest number of interactions in a link, while Pi are the remaining values. H is the number of potential interactors (e.g. plant species if the target species is a pollinator).specieslevel
.data(Safariland)
PDI(Safariland) # for pollinators
PDI(t(Safariland), log=TRUE) # for plants
Run the code above in your browser using DataLab