% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stats_model_helpers.R
\name{.checkDimXY}
\alias{.checkDimXY}
\title{Check Dimensions of X and Y Matrices (PLS Context)}
\usage{
.checkDimXY(X, Y)
}
\arguments{
\item{X}{Numeric matrix. Predictor data matrix (observations x variables).}

\item{Y}{Numeric matrix. Response data matrix (observations x variables).}
}
\value{
Invisibly returns \code{NULL} if checks pass.
Throws an error if dimensions are incompatible.
}
\description{
Checks that the input matrices \code{X} and \code{Y} have compatible dimensions
for Partial Least Squares (PLS) analysis.
Specifically, the number of observations (rows) must match, and
the number of variables (columns) in \code{X} must be greater than in \code{Y}.
}
\keyword{internal}
