abundtrans {labdsv} | R Documentation |
Species Abundance Data Transformation
Description
Transforms species abundances according to an arbitrary specified vector
Usage
abundtrans(comm,code,value)
Arguments
comm |
the original community data.frame |
code |
a vector containing the set of values appearing in the original data.frame |
value |
a vector containing the set of respective values to substitute |
Details
Performs a respective substitution to transform specific values in an initial data.frame to other specified values.
Value
a data.frame of transformed abundance data
Note
Vegetation data are often collected in arbitrary abundance schemes (e.g. Braun-Blanquet, Domin, etc.) which have no direct algebraic transformation (e.g. log). This function transforms coded abundances to arbitrary importance values as specified.
Author(s)
David W. Roberts droberts@montana.edu
See Also
Examples
data(bryceveg)
old <- c(0.2,0.5,1.0,2.0,3.0,4.0,5.0,6.0)
new <- c(0.2,0.5,3.0,15.0,37.5,62.5,85.0,97.5)
midpoint <- abundtrans(bryceveg,old,new)
[Package labdsv version 2.1-0 Index]