powered by
Store predicted values generated in model functions
# S3 method for model.predict store(dataset, object, name = "prediction", ...)
Dataset to add predictions to
Return value from model function
Variable name(s) assigned to predicted values
Additional arguments
See https://radiant-rstats.github.io/docs/model/regress.html for an example in Radiant
regress(diamonds, rvar = "price", evar = c("carat", "cut")) %>% predict(pred_data = diamonds) %>% store(diamonds, ., name = c("pred", "pred_low", "pred_high")) %>% head()
Run the code above in your browser using DataLab