sample_finite | R Documentation |
Take a finite sample of individuals without replacement from an integer abundance vector.
sample_finite(ab, size = sum(ab))
ab |
A numeric vector of species abundances or relative abundances. |
size |
Number of individuals to sample, defaults to all of them, a scalar |
A numeric vector of species abundances, including 0's
sample_infinite
sample_finite(1:9, 15)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.