updateModel | R Documentation |
updateModel
adds new variables to model and re-fit it.
updateModel(object, x, placeholder = NULL, backquote = TRUE, collapse = " + ")
object |
An existing fit from a model function such as lm, glm and many others. |
x |
Character vector specifying variables to be added to model. |
placeholder |
String specifying term to substitute with value from
|
backquote |
Logical indicating if added variables should be quoted.
Elements of this vector are recycled over |
collapse |
String specifying how variables should be combined. Defaults
to |
Updated fitted object.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.