View source: R/select_indicator_species.R
select_indicator_species | R Documentation |
Selection of species or taxonomic units, depending on the taxonomic resolution in the original data set, that indicate with a given probability of belonging to an environment.
select_indicator_species(com, group, alfa = 0.05)
com |
Community data. matrix or data.frame with species in columns and samples in rows. |
group |
Vector of the sample grouping of the community data. |
alfa |
Significance level used for the test. |
A list with two components: a vector of the name of the indicator species selected and a vector of the conditional probability of each species or taxonomic unit in the data.
data(soilandfauna)
# Select community (species) data
com <- soilandfauna[,18:50]
# Select grouping factor
group <- soilandfauna[,1]
select_indicator_species(com,group,0.05)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.