% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/aqp-interop-v0962.R
\name{texture_class_from_pct}
\alias{texture_class_from_pct}
\title{NRCS texture-class shorthand from clay / silt / sand percent}
\usage{
texture_class_from_pct(clay, silt, sand)
}
\arguments{
\item{clay}{Numeric vector of clay percent (0-100).}

\item{silt}{Numeric vector of silt percent.}

\item{sand}{Numeric vector of sand percent. (clay + silt + sand
should sum to ~100; mild deviations are tolerated.)}
}
\value{
Character vector of NRCS texture class abbreviations.
}
\description{
aqp's \code{getArgillicBounds()} requires an NRCS texture class
column (e.g. "SCL", "C", "CL", "FS"). soilKey horizons only carry
the percent fractions; this helper derives the class from the
standard USDA texture triangle.
}
\details{
Returns the standard NRCS abbreviation:
\tabular{ll}{
  COS \tab Coarse sand            \cr
  S   \tab Sand                   \cr
  FS  \tab Fine sand              \cr
  VFS \tab Very fine sand         \cr
  LS  \tab Loamy sand             \cr
  LFS \tab Loamy fine sand        \cr
  SL  \tab Sandy loam             \cr
  FSL \tab Fine sandy loam        \cr
  L   \tab Loam                   \cr
  SIL \tab Silt loam              \cr
  SI  \tab Silt                   \cr
  SCL \tab Sandy clay loam        \cr
  CL  \tab Clay loam              \cr
  SICL\tab Silty clay loam        \cr
  SC  \tab Sandy clay             \cr
  SIC \tab Silty clay             \cr
  C   \tab Clay
}

Implementation follows the canonical USDA texture triangle; vector-
ised over the input. NA in / NA out.
}
