Update model response object
1 2 3 4 5 6 7 8 9 10 | update_response(x, res, data, ..., model_name = class(x)[1])
## Default S3 method:
update_response(x, res, data, ...)
## S3 method for class 'lm'
update_response(x, res, data, ..., model_name = "linear model")
## S3 method for class 'loess'
update_response(x, res, data, ...)
|
x |
model object |
res |
response object of class |
data |
data used for |
... |
ignored |
model_name |
name of model used in calculation |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.