taxa (version 0.1.0)

taxa: A class for multiple taxon objects

Description

Stores one or more taxon() objects. This is just a thin wrapper for a list of taxon() objects.

Usage

taxa(..., .list = NULL)

Arguments

...

Any number of object of class taxon()

.list

An alternate to the ... input. Any number of object of class taxon(). Cannot be used with ....

Value

An R6Class object of class Taxon

See Also

Other classes: hierarchies, hierarchy, taxmap, taxon_database, taxon_id, taxon_name, taxon_rank, taxonomy, taxon

Examples

Run this code
# NOT RUN {
(x <- taxon(
  name = taxon_name("Poa annua"),
  rank = taxon_rank("species"),
  id = taxon_id(93036)
))
taxa(x, x, x)
# }

Run the code above in your browser using DataCamp Workspace