select_indicator_species: Select indicator species

View source: R/select_indicator_species.R

select_indicator_speciesR Documentation

Select indicator species

Description

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.

Usage

select_indicator_species(com, group, alfa = 0.05)

Arguments

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.

Value

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.

Examples


data(soilandfauna)
 
# Select community (species) data
com <- soilandfauna[,18:50]

# Select grouping factor
group <- soilandfauna[,1]

select_indicator_species(com,group,0.05)


lsaravia/EcoIndicators documentation built on Sept. 19, 2024, 11:07 p.m.