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

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

Details

This is the documentation for the class called taxa. If you are looking for the documentation for the package as a whole: taxa-package.

See also

Examples

(a <- taxon( name = taxon_name("Poa annua"), rank = taxon_rank("species"), id = taxon_id(93036) ))
#> <Taxon> #> name: Poa annua #> rank: species #> id: 93036 #> authority: none
taxa(a, a, a)
#> <taxa> #> no. taxa: 3 #> Poa annua / species / 93036 #> Poa annua / species / 93036 #> Poa annua / species / 93036
# a null set x <- taxon(NULL) taxa(x, x, x)
#> <taxa> #> no. taxa: 3 #> empty set
# combo non-null and null taxa(a, x, a)
#> <taxa> #> no. taxa: 3 #> Poa annua / species / 93036 #> empty #> Poa annua / species / 93036