Get ordered ranks from taxonomy
Returns an ordered factor of the ranks of a given taxonomy. It also checks if rank corresponds consistently with level.
taxonomy_ranks(taxa, parents, rank, strict = TRUE)
character) Unique taxon IDs for every possible taxon.
character) Unique taxon IDs for the supertaxa of every possible taxon. Root taxa should have
NAin this column.
character) The rank designation (e.g. "genus") corresponding to each observation in
FALSE, ranks with inconsistent levels will be allowed. Otherwise ranks with overlapping level ranges will cause an error.
Looks like there are no examples yet.