Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

samptot

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)

References

See Also

spcmax, abundtrans

Examples

data(bryceveg)
    stveg <- samptot(bryceveg)
    apply(stveg,1,sum)

labdsv

Ordination and Multivariate Analysis for Ecology

v2.0-1
GPL (>= 2)
Authors
David W. Roberts <droberts@montana.edu>
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.