store.model | R Documentation |
Store residuals from a model
## S3 method for class 'model'
store(dataset, object, name = "residuals", ...)
dataset |
Dataset to append residuals to |
object |
Return value from a model function |
name |
Variable name(s) assigned to model residuals |
... |
Additional arguments |
The store method for objects of class "model". Adds model residuals to the dataset while handling missing values and filters. See https://radiant-rstats.github.io/docs/model/regress.html for an example in Radiant
regress(diamonds, rvar = "price", evar = c("carat", "cut"), data_filter = "price > 1000") %>%
store(diamonds, ., name = "resid") %>%
head()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.