powered by
Transforms species abundances according to an arbitrary specified vector
abundtrans(comm,code,value)
a data.frame of transformed abundance data
the original community data.frame
a vector containing the set of values appearing in the original data.frame
a vector containing the set of respective values to substitute
David W. Roberts droberts@montana.edu http://ecology.msu.montana.edu/droberts/droberts.html
Performs a respective substitution to transform specific values in an initial data.frame to other specified values.
http://ecology.msu.montana.edu/labdsv/R/labs/lab1/lab1.html
decostand, wisconsin
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)
Run the code above in your browser using DataLab