Description Usage Arguments Examples
This is a simple function to grab the residuals of a linear model.
1 | grab_resids(lm_obj)
|
lm_obj |
the linear model object created by the lm() function. |
1 2 3 | library(palmerpenguins)
fit <- lm(bill_length_mm ~ ., data = penguins[, -8])
grab_resids(fit)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.