Description Usage Arguments Value Examples
View source: R/sample_by_subcommunities.R
Sample a dataset as if we only counted in some subcommunities.
1 | sample_by_subcommunities(dataset, count)
|
dataset |
A matrix, data frame or tibble containing abundance or incidence data |
count |
The number of subcommunities to retain |
The subsampled dataset in the format it was passed in
1 2 3 | library(magrittr)
sample_by_species(bci_2010, count = 20) %>%
sample_by_subcommunities(count = 6)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.