regressoR (version 1.1.7)

rl_model: rl_model

Description

generates the code to create the linear regression model.

Usage

rl_model(data = "datos.aprendizaje", variable.pred = NULL,
  model.var = "modelo.rl")

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.

See Also

lm

Examples

Run this code
# NOT RUN {
x <- rl_model('iris', 'Petal.Length')
exe(x)
print(modelo.rl)

# }

Run the code above in your browser using DataLab