mat2dbTab: Formatting an ecological site x species matrix into a...

Usage Arguments Value Author(s) See Also Examples

Usage

1
mat2dbTab(mat,checklist=F)

Arguments

mat

Ecological site x species matrix. Sites (locations) should be rows, species columns

checklist

TRUE if simple checklist giving the occurrences of the variables

Value

A data frame with the colums "SU" (sampling units), "sp" (species) and "ab" abundance. If checklist is TRUE, the column "ab" wont be created

Author(s)

Bottin, Marius

See Also

dbTab2mat

Examples

1
2
matSp<-matrix(sample(c(0,1),100,replace=T,prob=c(.7,.3)),nrow=10,ncol=10,dimnames=list(paste("site",1:10,sep=""),paste("sp",1:10,sep="")))
mat2dbTab(matSp)

marbotte/ecolUtil documentation built on May 31, 2019, 11:44 p.m.