predint_plot: Plot of typical and deviant cases with prediction intervals

Description Usage Arguments Value Examples

View source: R/classification.R

Description

Presented in Rohlfing, Ingo and Peter Starke (2013): Building on Solid Ground: Robust Case Selection in Multi-Method Research. Swiss Political Science Review 19 (4): 492-512. (https://doi.org/10.1111/spsr.12052)

Usage

1
predint_plot(pred_df)

Arguments

pred_df

A dataframe created with predint.

Value

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

Examples

1
2
3
df <- lm(mpg ~ disp + wt, data = mtcars)
predint_status <- predint(df, piwidth = 0.9)
predint_plot(predint_status)

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