| classify_texture | R Documentation |
Returns the USDA texture class name for each row based on the sand, silt, and clay fractions. Inputs are expected in per-cent (0–100) and must sum to approximately 100.
classify_texture(sand, silt, clay, tol = 1)
sand |
Numeric vector: sand content (%). |
silt |
Numeric vector: silt content (%). |
clay |
Numeric vector: clay content (%). |
tol |
Tolerance for the 100 % sum check (default |
Character vector of USDA texture class names. Returns NA
for rows where values are missing or do not sum to approximately 100.
classify_texture(sand = c(70, 20, 10, 40),
silt = c(15, 50, 30, 40),
clay = c(15, 30, 60, 20))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.