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

View source: R/preabs.R

preabsR Documentation

A R function for converting species matrix (wide data) to present-absent matrix

Description

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

Usage

preabs(widedata)

Arguments

widedata

A species matrix

Value

A present-absent matrix

Examples

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

forestHES documentation built on Oct. 18, 2024, 5:13 p.m.