ropensci / taxlist

Handling taxonomic lists
https://docs.ropensci.org/taxlist/
12 stars 4 forks source link

A function adding taxonomic ranks after or before some ranks #29

Open kamapu opened 1 year ago

kamapu commented 1 year ago

Design a new function adding taxonomic ranks in reference to existing ranks.

This function may looks like this:

add_levels(x, before, after)

where x is a character vector with the names of ranks to be inserted, before is a vector of the same length of x indicating before which ranks the new ranks have to be inserted, and after (ignored if before not missing).