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.
23 lines
598 B
23 lines
598 B
% Generated by roxygen2: do not edit by hand
|
|
% Please edit documentation in R/pls-modeling.R
|
|
\name{tune_model}
|
|
\alias{tune_model}
|
|
\title{Perform model tuning}
|
|
\usage{
|
|
tune_model(x, variable, env = parent.frame(), validation = TRUE)
|
|
}
|
|
\arguments{
|
|
\item{x}{list from calibration sampling}
|
|
|
|
\item{variable}{response variable for PLS regression, supplied
|
|
as character expression}
|
|
|
|
\item{env}{Environment where function is evaluated}
|
|
|
|
\item{validation}{Logical expression weather an independent
|
|
validation is performed.}
|
|
}
|
|
\description{
|
|
Uses function from caret to to model tuning
|
|
for PLS regression.
|
|
}
|
|
|