R/extractSMR.R
extractSMR.Rd
Extract Soil Moisture Regime from Subgroup or Higher Level Taxon
extractSMR(taxon, as.is = FALSE, droplevels = FALSE, ordered = TRUE)
character. Vector of taxon names.
Return character labels rather than an (ordered) factor? Default: FALSE
Drop unused levels? Default: FALSE
Create an ordinal factor? Default: TRUE
an (ordered) factor of Soil Moisture Regimes, or character vector when as.is=TRUE
extractSMR(c("aquic haploxeralfs", "typic epiaqualfs", "humic inceptic eutroperox"))
#> aquic haploxeralfs typic epiaqualfs humic inceptic eutroperox
#> xeric aquic perudic
#> 7 Levels: aridic (torric) < ustic < xeric < udic < perudic < ... < peraquic