% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/spectra-train.R
\name{predict.soilKey_pls_model}
\alias{predict.soilKey_pls_model}
\title{Predict from a soilKey_pls_model}
\usage{
\method{predict}{soilKey_pls_model}(object, X, ...)
}
\arguments{
\item{object}{A \code{soilKey_pls_model} object.}

\item{X}{A pre-processed numeric matrix (rows = samples,
columns = wavelengths). Must have the same column count
used at training time.}

\item{...}{Reserved.}
}
\value{
A data.frame with columns \code{value}, \code{pi95_low},
        \code{pi95_high}, one row per sample.
}
\description{
S3 method that applies a trained PLSR model from
\code{\link{train_pls_from_ossl}} to a (pre-processed) numeric
matrix and returns predictions plus a 95% prediction interval
built from the cross-validated training RMSE.
}
