R/classification.R
predint_plot.Rd
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)
predint_plot(pred_df)
pred_df | A dataframe created with |
---|
A plot of the observed outcome against the fitted outcome with
prediction intervals and case classifications. Created with
ggplot2
.
df <- lm(mpg ~ disp + wt, data = mtcars) predint_status <- predint(df, piwidth = 0.9) predint_plot(predint_status)