powered by
generates the code to create the linear regression model.
rl_model(data = "datos.aprendizaje", variable.pred = NULL, model.var = "modelo.rl")
the name of the learning data.
the name of the variable to be predicted.
the name of the variable that stores the resulting model.
lm
# NOT RUN { x <- rl_model('iris', 'Petal.Length') exe(x) print(modelo.rl) # }
Run the code above in your browser using DataLab