You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
964 B
34 lines
964 B
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/pls-modeling.R
|
|
\name{pls_ken_stone}
|
|
\alias{pls_ken_stone}
|
|
\title{Calibration sampling, model tuning, and PLS regression}
|
|
\usage{
|
|
pls_ken_stone(spec_chem, ratio_val, pc, print = TRUE, validation = TRUE,
|
|
variable, env = parent.frame())
|
|
}
|
|
\arguments{
|
|
\item{spec_chem}{data.frame that contains IR spectroscopy
|
|
and chemical data}
|
|
|
|
\item{ratio_val}{Ratio of number of validation and all samples.}
|
|
|
|
\item{pc}{Number of Principal Components used for Calibration
|
|
sampling (Kennard-Stones algorithm)}
|
|
|
|
\item{print}{Logical expression weather graphs shall be printed}
|
|
|
|
\item{validation}{Logical expression weather independent
|
|
validation is performed}
|
|
|
|
\item{variable}{Response variable (without quotes)}
|
|
|
|
\item{env}{Environment where function is evaluated}
|
|
|
|
\item{k}{Number of validation samples}
|
|
}
|
|
\description{
|
|
Perform calibration sampling and use selected
|
|
calibration set for model tuning
|
|
}
|
|
|
|
|