Description Usage Arguments Details Value
This is an internal helper function for beta_stand(). Beta-diversity is calculated for the number of samples in x and the the given index. Therefore, x must have exactly N_samples rows. This is a security feature to ensure that users don't try to calculate another set size than given by the number of rows in x. Use beta_stand()!
1 | setwise_beta(x, setsize = 2, func, ...)
|
x |
A site by species matrix. |
setsize |
number of sites in the matrix |
func |
function returning the desired beta-diversity metric |
... |
additional argumets passed on to func |
If extrapolate = F, observed S will be returned if N_stand exceeds sample size.
A single numeric value for the beta diversity index.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.