preabs: A R function for converting species matrix (wide data) to...

Description Usage Arguments Value Examples

Description

Converting species matrix (wide data) to present-absent matrix

Usage

1
preabs(widedata)

Arguments

widedata

A species matrix

Value

A present-absent matrix

Examples

1
2
3
4
herb.spematrix<-longtowide(longdata=herbdata,left="plot.id",up="spe.id",
inner="abundance")
herb.preabs<-preabs(herb.spematrix)
herb.preabs

Zongzheng/forestHES documentation built on May 10, 2019, 1:59 a.m.