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


ropenscilabs/taxa documentation built on Feb. 23, 2024, 6:31 p.m.