% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stats_model_helpers.R
\name{.checkXclassNas}
\alias{.checkXclassNas}
\title{Check X matrix (PLS context)}
\usage{
.checkXclassNas(X)
}
\arguments{
\item{X}{Input data (univariate or multivariate), formatted as a matrix.}
}
\value{
\code{NULL} if all checks pass; otherwise throws an informative error.
}
\description{
Validates that input \code{X} is a numeric matrix and does not contain missing, NaN, or infinite values.
}
\keyword{internal}
