check_taxon_rank_order: Check that order is ascending

View source: R/taxon_rank_level.R

check_taxon_rank_orderR Documentation

Check that order is ascending

Description

Check that order is ascending and reorder the orders and their levels if needed.

Usage

check_taxon_rank_order(level, order, warn = FALSE)

Arguments

level

Zero or more taxonomic rank names.

order

Integers that determine the relative order of taxonomic levels.

warn

If TRUE, issue a warning when not in ascending order.


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