Resolves the names and reports the deepest Linnaean rank at which they all share one classification value – their most recent common ancestor in the backbone's hierarchy. Two congeners return their shared genus; two plants in different families return a shared order or class; unrelated taxa share only a kingdom (or nothing).
Value
A one-row data.frame with columns rank, name (the shared taxon),
and n_taxa (how many resolved names went into the comparison). rank and
name are NA when the taxa share nothing (e.g. different kingdoms, or
only one resolved).
Examples
# Runs offline against the bundled example database.
old <- options(taxify.data_dir = taxify_example_data())
lowest_common(c("Quercus robur", "Quercus petraea"))
options(old)