soil_class: Returns soil texture class, based on USDA triangle

Description Usage Arguments Details Value References Examples

View source: R/soil_class.R

Description

Returns soil texture class, based on USDA triangle

Usage

1
soil_class(clay, sand, silt = NULL)

Arguments

clay

Vector of percent clay

sand

Vector of percent silt

silt

Vector of percent sand

Details

This function draws on tt_class, and adaptation of the TT.points.in.classes from the soiltexture package. That function can classify borderline soiltexture cases. This function returns just the first of several classifications made.

Value

USDA texture class

References

Julien Moeys (2016). soiltexture: Functions for Soil Texture Plot, Classification and Transformation. R package version 1.4.1. https://CRAN.R-project.org/package=soiltexture

Examples

1
2
soil_class(clay = c(05,60,15,05,25,05,25,45,65,75,13,47),
           sand = c(90,32,70,70,20,10,10,10,20,10,70,10))

ldemaz/rcropmod documentation built on Feb. 29, 2020, 10:17 p.m.