residstd_plot: Plot of typical and deviant cases based on residuals'...

Description Usage Arguments Value Examples

View source: R/classification.R

Description

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

Usage

1
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

1
2
3
df <- lm(mpg ~ disp + wt, data = mtcars)
residstd_status <- residstd(df, stdshare = 1)
residstd_plot(residstd_status)

MMRcaseselection documentation built on July 1, 2020, 9:55 p.m.