powered by
generates the code to create the prediction of the linear regression model.
rl_prediction( data = "datos.prueba", model.var = "modelo.rl", pred.var = "prediccion.rl" )
the name of the test data.
the name of the variable that stores the resulting model.
the name of the variable that stores the resulting prediction.
predict
# NOT RUN { x <- rl_model('iris', 'Petal.Length', 'model_rl') exe(x) print(model_rl) x <- rl_prediction('iris', 'model_rl', 'my_prediction') exe(x) print(my_prediction) # }
Run the code above in your browser using DataLab