expand.freqs: Expand Frequency Matrix

Description Usage Arguments Value Author(s) Examples

View source: R/expand.freqs.R

Description

Expand a matrix or data.frame of species frequencies to full vector.

Usage

1
expand.freqs(freq.mat)

Arguments

freq.mat

a two column matrix or data.frame where the first column is the number of samples, and the second column is the number of species represented by with that many samples.

Value

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

Author(s)

Eric Archer [email protected]

Examples

1
2
3

sprex documentation built on May 30, 2017, 1 a.m.