locate | R Documentation |
Locate where a specific component of a object might exist within the model object itself. This function is restricted in that only items that can be axed can be found.
locate(x, name = NULL)
x |
A model object. |
name |
A name associated with model component of interest.
This defaults to NULL. Possible components include: |
Location of specific component in a model object.
lm_fit <- lm(mpg ~ ., data = mtcars)
locate(lm_fit, name = "env")
locate(lm_fit, name = "call")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.