residplot | R Documentation |
This function creates a residual plot (residplot) on a data frame of the variables in an equation.
residplot(df, formula)
df |
data frame to read in. |
formula |
the variables in the regression model, |
data <- mtcars
residplot(data, mpg ~ wt + am)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.