Learn R Programming

ordiBreadth (version 1.0)

summaryordi: summaryordi

Description

Summarizes object provided by ordi.focal.drop

Usage

summaryordi(ordi.out, round = 5)

Arguments

ordi.out
Object provided by ordi.focal.drop.
round
The number of digits to round results.

Value

  • A dataframe showing result summary

References

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

Examples

Run this code
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="")

x<-ordi.focal.drop(dat)
summaryordi(x)

Run the code above in your browser using DataLab