species.to.sample.freq: Create Vector of Sample Frequencies

View source: R/species.to.sample.freq.R

species.to.sample.freqR Documentation

Create Vector of Sample Frequencies

Description

Create vector of sample frequencies from vector of species frequencies.

Usage

species.to.sample.freq(f)

Arguments

f

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

Value

a vector(x) where x[i] is of the number of samples in the i-th species.

Author(s)

Eric Archer eric.archer@noaa.gov

See Also

sample.to.species.freq

Examples

data(osa.old.growth)
f <- expand.freqs(osa.old.growth)
x <- species.to.sample.freq(f)
print(f)
print(x)


EricArcher/sprex documentation built on Sept. 4, 2023, 8:35 a.m.