% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/utils-diagnostic-tests.R
\name{test_stagnic_pattern}
\alias{test_stagnic_pattern}
\title{Test for stagnic redox features (perched water signature)}
\usage{
test_stagnic_pattern(h, max_top_cm = 100, min_redox_pct = 5, decay_factor = 3)
}
\arguments{
\item{h}{Numeric threshold or option (see Details).}

\item{max_top_cm}{Numeric threshold or option (see Details).}

\item{min_redox_pct}{Numeric threshold or option (see Details).}

\item{decay_factor}{Numeric threshold or option (see Details).}
}
\description{
Distinct from gleyic (groundwater): stagnic = redoximorphic features
in some layer within the upper \code{max_top_cm} (default 100) AND
redox in deeper layers DROPS substantially (decay to < third of the
shallow value). The decay condition is what separates perched water
(sits above an impermeable layer; deeper soil is not saturated)
from groundwater-driven gleying (saturation continues with depth).
}
