% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-diagnostic-tests.R
\name{compute_al_saturation}
\alias{compute_al_saturation}
\title{Compute aluminium saturation (\%) from exchangeable bases and Al}
\usage{
compute_al_saturation(ca, mg, k, na, al)
}
\description{
Returns \code{al_cmol / (ca + mg + k + na + al) * 100}, or NA if any
input is missing or the sum (ECEC) is non-positive.
}
\keyword{internal}
