% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/char_validate_params.R
\name{char_validate_params}
\alias{char_validate_params}
\title{Validate CharAnalysis input parameters}
\usage{
char_validate_params(
  char_data,
  pretreatment,
  smoothing,
  peak_analysis,
  results
)
}
\arguments{
\item{char_data}{Numeric matrix (n x 6+).}

\item{pretreatment}{List with \code{zoneDiv}, \code{yrInterp},
\code{transform}.}

\item{smoothing}{List with \code{method}, \code{yr}.}

\item{peak_analysis}{List with \code{cPeak}, \code{threshType},
\code{threshMethod}, \code{threshValues}, \code{minCountP},
\code{peakFrequ}.}

\item{results}{List (not checked; included for API symmetry).}
}
\value{
\code{NULL} invisibly on success.  Stops with an error on failure.
}
\description{
Checks all user-supplied parameters for internal consistency and plausible
ranges.  Throws a descriptive error and halts if any check fails.  Emits
warnings for non-fatal but unusual settings.
}
\details{
Mirrors \code{CharValidateParams.m} from the MATLAB v2.0 codebase.  All 15
checks and 2 non-fatal warnings are reproduced in the same order.
}
\seealso{
[char_parameters()], [CharAnalysis()]
}
