Learn R Programming

aqp (version 2.1.0)

SoilTextureLevels: 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)

Value

an ordered factor

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)

References

Field Book for Describing and Sampling Soils, version 3.0

Examples

Run this code

# class codes
SoilTextureLevels()

# class names
SoilTextureLevels(which = 'names')

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

Run the code above in your browser using DataLab