remove_taxa: remove_taxa

View source: R/remove_taxa.R

remove_taxaR Documentation

remove_taxa

Description

\Sexpr[results=rd, stage=render]{ lifecycle::badge("experimental") }

Remove a taxon or a set of taxa and create a new data.frame.

Usage

remove_taxa(x, taxa = NULL)

Arguments

x

Result of aggregate_taxa().

taxa

A taxon or a vector of taxa.

Details

This function does not check for parent-child pairs but it should handle them pretty well.

See Also

aggregatoR ambiguousSolver

Examples

data(macro_ex)
data_bio <- as_biomonitor(macro_ex)
data_agr <- aggregate_taxa(data_bio)
remove_taxa(data_agr, taxa = "Ephemeroptera")

alexology/biomonitoR documentation built on April 7, 2024, 10:15 a.m.