Learn R Programming

aqp (version 2.1.0)

lookup_taxpartsize: Ranking Systems for USDA Taxonomic Particle-Size and Substitute Classes of Mineral Soils

Description

Generate a lookup table of USDA Particle-Size and Substitute Classes names, ranked according to approximate particle size

Usage

lookup_taxpartsize()

Arguments

Value

A data.frame with a rank column, taxonomic family particle size class, and a flag for contrasting.

Author

Stephen Roecker

References

Field Book for Describing and Sampling Soils, version 3.0

See Also

hz_to_taxpartsize(), texture_to_taxpartsize(), SoilTextureLevels()

Examples

Run this code

# class codes
lu <- lookup_taxpartsize()

idx <- lu$contrasting == FALSE

lu$taxpartsize[idx]

lu$rank[as.integer(lu$taxpartsize)[idx]]

Run the code above in your browser using DataLab