rd_model: rd_model

View source: R/mod_dimension_reduction_utils.R

rd_modelR Documentation

rd_model

Description

generates a dimension reduction model.

Usage

rd_model(data, variable.pred, mode = 0, scale = TRUE)

Arguments

data

dataframe

variable.pred

the name of the variable to be predicted.

mode

the method of dimension reduction is defined as mode=1 is the MCP, and mode=0 the ACP.

scale

the scale parameter of the model.

See Also

pcr, plsr


regressoR documentation built on July 9, 2023, 5:26 p.m.