Description Usage Arguments Value Examples
Sample a dataset as if we only recorded some species.
1 | sample_by_species(dataset, count)
|
dataset |
A data frame containing abundance or incidence data |
count |
The number of species to retain |
The subsampled dataset as a tibble
1 2 3 4 5 6 7 | library(iNEXT)
data(bird)
sample_by_species(bird, count = 2)
data(ciliates)
eto.incidence <- ciliates$EtoshaPan
sample_by_species(eto.incidence, 5)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.