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