sprex (version 1.4.1)

f.stats: Frequency Vector Statistics

Description

Number of observed species and samples in species frequency vector.

Usage

f.stats(f)

Arguments

f
a vector of species frequencies where f[i] is the number of species represented by only i samples.

Value

a vector of the number of observed species (s.obs), and the total number of samples (n).

Examples

Run this code
data(osa.second.growth)
f <- expand.freqs(osa.second.growth)
f.stats(f)

Run the code above in your browser using DataCamp Workspace