abundtrans | R Documentation |
Transforms species abundances according to an arbitrary specified vector
abundtrans(comm,code,value)
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 |
Performs a respective substitution to transform specific values in an initial data.frame to other specified values.
a data.frame of transformed abundance data
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.
David W. Roberts droberts@montana.edu
decostand
, wisconsin
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.