Learn R Programming

labdsv (version 2.0-1)

spcmax: Species Maximum Standardization

Description

Standardizes a community data.frame by dividing the abundance of each species by the maximum value obtained for that species.

Usage

spcmax(comm)

Value

A data.frame of standardized community data.

Arguments

comm

community data.frame (samples as rows, species as columns)

Details

This is a simple standardization to make each species abundance scaled from 0 to 1, essentially relativizing abundance by species and making each species equal in the calculation of distance or dissimilarity or other analyses.

References

http://ecology.msu.montana.edu/labdsv/R

See Also

samptot, abundtrans, hellinger

Examples

Run this code
data(bryceveg)
smveg <- spcmax(bryceveg)
apply(smveg,2,max)

Run the code above in your browser using DataLab