store.model.predict | R Documentation |
Store predicted values generated in model functions
## S3 method for class 'model.predict'
store(dataset, object, name = "prediction", ...)
dataset |
Dataset to add predictions to |
object |
Return value from model function |
name |
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()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.