Description Usage Arguments Examples
View source: R/getter_setter_s3_generics.R
Set and get taxon authors in objects that have them, such as taxon_authority objects.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | tax_author(x)
tax_author(x) <- value
## S3 method for class 'taxa_taxon'
tax_author(x)
## S3 replacement method for class 'taxa_taxon'
tax_author(x) <- value
## S3 replacement method for class 'taxa_taxon_authority'
tax_author(x) <- value
## S3 method for class 'taxa_taxon_authority'
tax_author(x)
## S3 method for class 'taxa_taxonomy'
tax_author(x)
## S3 replacement method for class 'taxa_taxonomy'
tax_author(x) <- value
|
x |
An object with taxon authors. |
value |
The taxon authors to set. Inputs will be coerced into a character vector. |
1 2 3 4 5 | x <- taxon_authority(c('Cham. & Schldl.', 'L.'),
date = c('1827', '1753'))
tax_author(x)
tax_author(x)[1] <- "Billy"
tax_author(x) <- tolower(tax_author(x))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.