Use 'feasiblesads' to generate samples from the feasible set. Building on code from 'diazrenata/conditionalsads'
1 | sample_feasibleset(s, n, nsamples, distinct = TRUE)
|
s |
how many species |
n |
how many individuals |
nsamples |
how many samples to draw |
distinct |
TRUE/FALSE filter to distinct vectors. If true may not return nsamples samples. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.