new_classification: Minimal classfication constructor

View source: R/classification.R

new_classificationR Documentation

Minimal classfication constructor

Description

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

Usage

new_classification(taxonomy = taxonomy(), instances = integer())

Arguments

taxonomy

A taxonomy() object.

instances

The indexes of each instance of a taxon in the taxonomy. Can be any length.

Value

An S3 object of class taxa_classification


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