Taxa
represents a set of taxons. See Taxon()
. These are typically used
to specify species and other taxonomic groups that belong to a model.
Taxa(...)
A set of Taxon
objects.
An instance of class Taxa
Taxa(
Taxon(
family = "Pinaceae",
genus = "Pinus",
species = "ponderosa"
),
Taxon(
family = "Betulaceae"
)
)
#> An object of class "Taxa"
#> [[1]]
#> An object of class "Taxon"
#> Slot "family":
#> [1] "Pinaceae"
#>
#> Slot "genus":
#> [1] "Pinus"
#>
#> Slot "species":
#> [1] "ponderosa"
#>
#>
#> [[2]]
#> An object of class "Taxon"
#> Slot "family":
#> [1] "Betulaceae"
#>
#> Slot "genus":
#> [1] NA
#>
#> Slot "species":
#> [1] NA
#>
#>