freq.calc {spaa}R Documentation

Species relative frequency

Description

This function calculates the species relative frequency which equals to the numbers of occupied plots partitioned by the total number of plots for each species.

Usage

freq.calc(matr)

Arguments

matr

The standard species matrix

Details

The input data is a standard species matrix with rows for plots and column for species.

Value

Returns a vector that contains relative frequency for each species included in the input matrix.

Author(s)

Jinlong Zhang jinlongzhang01@gmail.com

References

None

Examples

data(testdata)
spmatrix <- data2mat(testdata)
freq.calc(spmatrix)

[Package spaa version 0.2.2 Index]