new_taxon: Minimal taxon constructor

View source: R/taxon.R

new_taxonR Documentation

Minimal taxon constructor

Description

Minimal taxon constructor for internal use. Only use when the input is known to be valid since few validity checks are done.

Usage

new_taxon(
  .names = NULL,
  name = character(),
  rank = taxon_rank(),
  id = taxon_id(),
  auth = taxon_authority(),
  ...
)

Arguments

.names

The names of the vector.

name

The names of taxa as a character vector.

rank

The ranks of taxa as a taxon_rank vector.

id

The ids of taxa as a taxon_id vector.

auth

The authority of the taxon as a taxon_authority vector.

Value

An S3 object of class taxa_taxon


taxa documentation built on April 12, 2022, 9:06 a.m.