Learn R Programming

SoilTaxonomy (version 0.1)

isValidST: Check for valid order | suborder | greatgroup | subgroup.

Description

This function can be used to quickly test for valid levels within the Soil Taxonomy hierarchy, a defined within the 13th edition of The Keys to Soil Taxonomy. Matches are case insensitive.

Usage

isValidST(needle, level = c("order", "suborder", "greatgroup", "subgroup"))

Arguments

needle

vector of taxa

level

single level of Soil Taxonomy hierarchy: order, suborder, greatgroup, subgroup

Value

logical vector, same lenght as needle

Examples

Run this code
# NOT RUN {
# note specfifcation of taxonomic level
isValidST('typic haploxeralfs', level = 'subgroup')

# }

Run the code above in your browser using DataLab