ordi.focal.drop: ordi.focal.drop

Description Usage Arguments Value Author(s) References Examples

Description

This function computes the ordinated host breadth based on ordination where each herbivore is excluded from the ordination.

Usage

1
ordi.focal.drop(dat, dist.method = "jaccard")

Arguments

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.

Value

A list containing the following:

species

Name of herbivore species (row name of dat

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

Author(s)

James Fordyce

References

Fordyce, J.A., C.C. Nice, C.A. Hamm, & M.L. Forister. Quantifying diet breadth through ordination of host association. Ecology

Examples

 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)

butterflyology/ordiBreadth documentation built on May 13, 2019, 9:03 a.m.