Learn R Programming

forestHES (version 1.0-1)

preabs: 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)

Value

A present-absent matrix

Arguments

widedata

A species matrix

Examples

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

Run the code above in your browser using DataLab