samptot: Sample total standardization

View source: R/standi.R

samptotR 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)

labdsv documentation built on April 10, 2023, 5:08 p.m.

Related to samptot in labdsv...