Skip to contents

Plot of typical and deviant cases based on residuals' standard deviation

Usage

residstd_plot(resid_df)

Arguments

resid_df

A dataframe created with residstd.

Value

A plot of the observed outcome against the fitted outcome with interval and case classifications. Created with ggplot2.

Examples

df <- lm(mpg ~ disp + wt, data = mtcars)
residstd_status <- residstd(df, stdshare = 1)
#> Error in x$terms: object of type 'closure' is not subsettable
residstd_plot(residstd_status)
#> Error: object 'residstd_status' not found