rd_model

0th

Percentile

rd_model

generates the code to create the dimension reduction model.

Usage
rd_model(data = "datos.aprendizaje", variable.pred = NULL,
  model.var = "modelo.rd", n.comp = "n.comp.rd",
  mode = options_regressor("rd.mode"), scale = TRUE)
Arguments
data

the name of the learning data.

variable.pred

the name of the variable to be predicted.

model.var

the name of the variable that stores the resulting model.

n.comp

the name of the variable that stores the optimum number of components.

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

Aliases
  • rd_model
Examples
# NOT RUN {
library(pls)

x <- rd_model('iris', 'Petal.Length')
exe(x)
print(modelo.rd)

# }
Documentation reproduced from package regressoR, version 1.1.7, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.