abundance_classes: transform abundance-coverage data to classes

View source: R/abundance_classes.R

abundance_classesR Documentation

transform abundance-coverage data to classes

Description

From abundance or coverage data it returns classes.

Usage

abundance_classes(
  x,
  abundance_classes = c(0.1, 1, 10, 50),
  class_labels = NULL
)

Arguments

x

A matrix or a data.frame.

abundance_classes

A numeric vector containing the values for separating classes.

class_labels

A numeric vector containing the labels of the classes. Default to the number of abundance classes plus 1.

Details

Some indices require abundance or coverage to be transformed in abundance or coverage classes.

Examples


data(mi_prin)
abundance_classes(mi_prin)

alexology/biomonitoR documentation built on Oct. 10, 2024, 12:02 a.m.