freq.calc: Species relative frequency

Description Usage Arguments Details Value Author(s) References Examples

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

1
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

1
2
3
data(testdata)
spmatrix <- data2mat(testdata)
freq.calc(spmatrix)

spaa documentation built on May 2, 2019, 9:44 a.m.