pam2bioindex | R Documentation |
pam2bioindex estimates various biodiversity indices for a certain PAM.
pam2bioindex(pam, biodiv_index = "dispersion_field", as_sparse = FALSE)
pam |
A Presence-Absence-Matrix of matrix class or sparse matrix. |
biodiv_index |
Possible values are alpha, omega, dispersion_field, all. |
as_sparse |
Return indices as sparse objects |
The biodiversty indices can be found in \insertCiteSoberon2015;textualbam
Soberon2015bam
set.seed(111) pam <- matrix(rbinom(100,1,0.3),nrow = 10,ncol = 10) bioindices <- pam2bioindex(pam=pam,biodiv_index="all") # Return results as sparse models bioindices <- pam2bioindex(pam=pam,biodiv_index="all",as_sparse=TRUE)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.