Learn R Programming

taxotools (version 0.0.132)

guess_taxo_rank: Guess the taxonomic rank of Scientific Name

Description

Guesses the taxonomic rank i.e. Genus, Species or Subspecies based on number of words

Usage

guess_taxo_rank(name)

Value

  • "Species" = two words

  • "Subspecies" = three words

  • "Unknown" = zero or more than three words

Arguments

name

scientific name string to be checked

See Also

Other Name functions: build_gen_syn(), cast_canonical(), cast_scientificname(), check_scientific(), expand_name(), get_accepted_names(), list_higher_taxo(), melt_canonical(), melt_scientificname(), resolve_names(), taxo_fuzzy_match()

Examples

Run this code
guess_taxo_rank("")
guess_taxo_rank("Akodon longipilis")
guess_taxo_rank("Akodon")
guess_taxo_rank("Abrocoma cinerea shistacea")
guess_taxo_rank("Abrocoma cinerea shistacea shistacea")

Run the code above in your browser using DataLab