Description Usage Arguments Value Author(s) References Examples
This function computes the ordinated host breadth based on ordination where each herbivore is excluded from the ordination.
1 | ordi.focal.drop(dat, dist.method = "jaccard")
|
dat |
A matrix of diet associations. Rows are herbivores and columns are diet items. |
dist.method |
Dissimilarity index passed on to vegdist in the vegan package. |
A list containing the following:
species |
Name of herbivore species (row name of |
ODB |
Ordinated diet breadth |
ODB.scaled |
Scaled ordinated diet breadth |
focal.distances |
Distance to each diet item from herbivore centroid based on ordination excluding focal herbivore |
focal.breadth |
Ordinated diet breadth of herbivore based on ordination where focal herbivore is excluded |
focal.scale.factor |
The ordinated diet breadth of an extreme generalist in the ordinated space when focal herbivore is excluded from the ordination |
focal.scale.breadth |
Scaled ordinated diet breadth of herbivore based on ordination where focal herbivore is excluded |
James Fordyce
Fordyce, J.A., C.C. Nice, C.A. Hamm, & M.L. Forister. Quantifying diet breadth through ordination of host association. Ecology
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | testdata<-
c(
0,0,0,0,1,0,0,0,0,0,
0,0,0,0,0,0,1,1,0,0,
1,1,1,0,0,0,0,0,0,0,
0,0,0,0,1,1,0,1,0,1,
1,1,1,0,0,0,1,0,0,0,
1,1,0,0,1,0,1,0,0,0,
0,0,0,1,0,0,1,0,1,1,
1,0,1,0,1,1,0,0,0,1,
1,1,0,0,1,0,0,1,1,1,
1,1,1,0,1,1,0,1,1,1)
dat<-array(dim=c(10,10),data=testdata)
dat<-t(dat)
colnames(dat)<-paste("",LETTERS[1:10],sep="")
rownames(dat)<-paste("bug",1:10,sep="")
ordi.focal.drop(dat)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.