residstd_plot {MMRcaseselection}R Documentation

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

Description

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)
residstd_plot(residstd_status)


[Package MMRcaseselection version 0.1.0 Index]