new_taxonomy: Minimal taxonomy constructor

View source: R/taxonomy.R

new_taxonomyR Documentation

Minimal taxonomy constructor

Description

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

Usage

new_taxonomy(taxa = taxon(), supertaxa = integer())

Arguments

taxa

A taxon vector.

supertaxa

The indexes of taxa for each taxon's supertaxon.

Value

An S3 object of class taxa_taxon


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