identify_env_test: Tests the accuracy of the environment identification of a set...

View source: R/identify_env_test.R

identify_env_testR Documentation

Tests the accuracy of the environment identification of a set of samples

Description

This function tests the accuracy of the environment estimation

Usage

identify_env_test(com, group, times = 999, n = 5, alfa = 0.05)

Arguments

com

The community data used to select indicator species.

group

Vector of the sample grouping of the community data.

times

to repeat the test.

n

Subsample size.

alfa

Significance level used for the test.

Value

A list with the accuracy of the estimation for each group.

Examples


data(soilandfauna)
 
# Select community (species) data

com <- soilandfauna[,18:60]

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

identify_env_test(com, group, times = 100, n = 4)


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