samptot {labdsv} | R Documentation |
Sample total standardization
Description
Standardizes a community data set to a sample total standardization.
Usage
samptot(comm)
Arguments
comm |
a community matrix (samples as rows, species as columns) |
Details
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.
Value
A data frame of sample total standardized community data.
Author(s)
David W. Roberts droberts@montana.edu
See Also
spcmax, abundtrans
Examples
data(bryceveg)
stveg <- samptot(bryceveg)
apply(stveg,1,sum)
[Package labdsv version 2.1-0 Index]