getTaxonSMR {SoilTaxonomy} | R Documentation |
Lookup Pre-calculated Soil Moisture Regimes by Taxon
Description
Helper function for using latest version of the Keys to Soil Taxonomy standard lookup table for soil moisture information.
Usage
getTaxonSMR(
taxon = NULL,
code = NULL,
as.is = FALSE,
droplevels = FALSE,
ordered = TRUE
)
Arguments
taxon |
character. Vector of taxon names (order to subgroup level). These values are converted to taxon "codes" |
code |
character. Vector of taxon codes. |
as.is |
logical. Return character labels rather than an (ordered)
factor? Default: |
droplevels |
logical. Drop unused levels? Default: |
ordered |
logical. Create an ordinal factor? Default: |
Value
character or factor (when as.is=FALSE) containing soil moisture
regime labels extracted from 13th edition Keys to Soil Taxonomy taxa using
extractSMR()
See Also
Examples
getTaxonSMR(c("aridisols", "haploxeralfs", NA, "abruptic durixeralfs", "ustic haplocryalfs"))
[Package SoilTaxonomy version 0.2.8 Index]