Learn R Programming

taxa (version 0.4.3)

tax_cite.taxa_classification: Set and get taxon authority citations

Description

Set and get the taxon authority citations in objects that have them, such as taxon_authority objects.

Usage

# S3 method for taxa_classification
tax_cite(x)

# S3 method for taxa_classification tax_cite(x) <- value

tax_cite(x)

tax_cite(x) <- value

# S3 method for taxa_taxon tax_cite(x)

# S3 method for taxa_taxon tax_cite(x) <- value

# S3 method for taxa_taxon_authority tax_cite(x) <- value

# S3 method for taxa_taxon_authority tax_cite(x)

# S3 method for taxa_taxonomy tax_cite(x)

# S3 method for taxa_taxonomy tax_cite(x) <- value

Arguments

x

An object with taxon authority dates.

value

The taxon citations to set. Inputs will be coerced into a taxon_authority vector.

Examples

Run this code
x <- taxon_authority(c('Cham. & Schldl.', 'L.'),
                     date = c('1827', '1753'),
                     citation = c(NA, 'Species Plantarum'))
tax_cite(x)
tax_cite(x)[1] <- "Cham. et al 1984"

Run the code above in your browser using DataLab