extractSMR {SoilTaxonomy}R Documentation

Extract Soil Moisture Regime from Subgroup or Higher Level Taxon

Description

Extract Soil Moisture Regime from Subgroup or Higher Level Taxon

Usage

extractSMR(taxon, as.is = FALSE, droplevels = FALSE, ordered = TRUE)

Arguments

taxon

character. Vector of taxon names.

as.is

Return character labels rather than an (ordered) factor? Default: FALSE

droplevels

Drop unused levels? Default: FALSE

ordered

Create an ordinal factor? Default: TRUE

Value

an (ordered) factor of Soil Moisture Regimes, or character vector when as.is=TRUE

Examples

extractSMR(c("aquic haploxeralfs", "typic epiaqualfs", "humic inceptic eutroperox"))

[Package SoilTaxonomy version 0.2.4 Index]