SoilTextureLevels: Ranking Systems for USDA Soil Texture Classes

View source: R/factor-level-setters.R

SoilTextureLevelsR Documentation

Ranking Systems for USDA Soil Texture Classes

Description

Generate a vector of USDA soil texture codes or class names, sorted according to approximate particle size

Usage

SoilTextureLevels(which = "codes", simplify = FALSE)

Arguments

which

'codes' (texture codes) or 'names' (texture class names)

simplify

Return 12-class factor levels (TRUE) or 21-class factor levels (default: FALSE)? The 12-class system does not separate sands, loamy sands and sandy loams into sand fraction variants (e.g. "very fine sandy loam" in the 21-class system is "sandy loam" in 12-class system)

Value

an ordered factor

References

Field Book for Describing and Sampling Soils, version 3.0

Examples


# class codes
SoilTextureLevels()

# class names
SoilTextureLevels(which = 'names')

# simpler class names
SoilTextureLevels(which = 'names', simplify = TRUE)
 

aqp documentation built on Oct. 19, 2024, 5:06 p.m.