powered by
This function uses ggplot2 graphics to plot robust effect size (RESI) estimates and confidence intervals from `resi`, `summary_resi`, and `anova_resi` objects.
# S3 method for resi ggplot(data, mapping, alpha = NULL, error.bars = TRUE, ..., environment)
Returns a ggplot of RESI point estimates
Object of `resi`, `summary_resi`, or `anova_resi` class
Ignored, included for consistency with `ggplot` generic
Numeric, desired alpha level for confidence intervals
Logical, whether to include end caps on the confidence intervals. Default = `TRUE`
Ignored
# create a resi object resi_obj <- resi(lm(charges ~ region * age + bmi + sex, data = RESI::insurance), nboot = 10) # plot ANOVA table ggplot2::ggplot(anova(resi_obj))
Run the code above in your browser using DataLab