new_taxon_rank: Minimal taxon_rank constructor

Description Usage Arguments Value

View source: R/taxon_rank.R

Description

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

Usage

1

Arguments

rank

Zero or more taxonomic rank names. Inputs will be transformed to a character vector.

levels

A named numeric vector indicating the names and orders of possible taxonomic ranks. Higher numbers indicate for fine-scale groupings. Ranks of unknown order can be indicated with NA instead of a number.

Value

An S3 object of class taxa_taxon_rank


zachary-foster/taxa2 documentation built on Jan. 1, 2021, 1:48 p.m.