expand.freqs | R Documentation |
Expand a matrix or data.frame of species frequencies to full vector.
expand.freqs(freq.mat)
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. |
a vector(f
) of species frequencies where each element
(f[i]
) is the number of species represented by only i
samples.
Eric Archer eric.archer@noaa.gov
data(osa.old.growth)
f <- expand.freqs(osa.old.growth)
f
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.