new_taxonomy {taxa}R 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


[Package taxa version 0.4.3 Index]