Learn R Programming

taxa (version 0.4.3)

tax_author.taxa_classification: Set and get taxon authors

Description

Set and get taxon authors in objects that have them, such as taxon_authority objects.

Usage

# S3 method for taxa_classification
tax_author(x)

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

tax_author(x)

tax_author(x) <- value

# S3 method for taxa_taxon tax_author(x)

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

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

# S3 method for taxa_taxon_authority tax_author(x)

# S3 method for taxa_taxonomy tax_author(x)

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

Arguments

x

An object with taxon authors.

value

The taxon authors to set. Inputs will be coerced into a character vector.

Examples

Run this code
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))

Run the code above in your browser using DataLab