Learn R Programming

labdsv (version 2.1-0)

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)

Author

David W. Roberts droberts@montana.edu

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.

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