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.


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