rd_model {regressoR}R 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


[Package regressoR version 3.0.2 Index]