prune_levels {taxlist}R Documentation

Prune not used taxonomic ranks

Description

Taxonomic ranks without taxon concepts will be pruned in taxlist objects.

Usage

prune_levels(object, ...)

## S3 method for class 'taxlist'
prune_levels(object, ...)

Arguments

object

An object of class taxlist.

...

Further arguments passed among methods (not yet in use).

Value

An object of class taxlist with pruned taxonomic ranks.

See Also

levels()

Examples

## Subset species belonging to Cyperus
Cyperus <- subset(Easplist, TaxonName == "Cyperus", slot = "taxonNames",
    keep_children = TRUE, keep_parents = TRUE)
Cyperus

## Prune not used ranks
prune_levels(Cyperus)

[Package taxlist version 0.3.0 Index]