powered by
Standardizes a community data set to a sample total standardization.
samptot(comm)
A data frame of sample total standardized community data.
a community matrix (samples as rows, species as columns)
David W. Roberts droberts@montana.edu
This function simply calculates row sums for the community matrix and then divides all values in that row by the appropriate sum so that all samples total to 1.0.
spcmax, abundtrans
data(bryceveg) stveg <- samptot(bryceveg) apply(stveg,1,sum)
Run the code above in your browser using DataLab