ggerror 1.0.0
- New
stat_error()summarises raw observation-level data into error bounds. Acceptsfun = "mean_se"(default),"mean_ci"(95% normal- theory CI, no Hmisc dep), or a custom function following ggplot2’sfun.datacontract. Also available viageom_error(stat = "error"). - New
sign_aware = TRUEroutes signed per-row values (typically residuals) into one-sided bars whose direction encodes the sign. Enables one-layerlm()residual plots. -
aes(error_neg = NA, error_pos = ...)is now the canonical idiom for one-sided bars — the cap and stem on the NA side auto-suppress. Passing0still renders but emits a soft deprecation warning; silence withoptions(ggerror.silent_zero_warning = TRUE)or tune the detection threshold viaoptions(ggerror.zero_threshold = ...). - New diagnostics: NA values in symmetric
errornow warn with row indices (classggerror_warn_error_na); negative values withoutsign_awareabort with row indices and a migration suggestion (classggerror_error_negative_error_aes). - New vignette
lm-residualscoveringstat_error()andsign_awarewith anlm()residual-plot demo.
ggerror 0.4.0
- Added a pkgdown site at https://iamyannc.github.io/ggerror/.
ggerror 0.3.0
CRAN release: 2026-04-21
-
ggerrornow includes a complete aestetic support for one sided error bars. - Added fixed per-side styling parameters for error bars:
colour_neg/colour_pos,fill_neg/fill_pos,linewidth_neg/linewidth_pos,linetype_neg/linetype_pos,alpha_neg/alpha_pos, andwidth_neg/width_pos. - Fixed bug from 0.2.0: When supplying one-sided error bars, the unused side’s width can be set to
0, default, for examplegeom_error(aes(error_neg = 0, error_pos = se), width_neg = 0). - Added a
vignette("ggerror")covering symmetric, asymmetric, one-sided, and per-side styling workflows.
ggerror 0.2.0
- New
error_neg/error_posaesthetics for asymmetric error bars. The bar extendserror_negin the negative direction anderror_posin the positive direction along the non-categorical axis. - One-sided bars are supported by setting the unused side to
0explicitly (e.g.aes(error_neg = 0, error_pos = se)for an upward-only bar). - The existing symmetric
erroraesthetic is unchanged. Combiningerrorwith eithererror_neg/error_pos, or providing only one of the asymmetric pair, raises an error.
ggerror 0.1.0
- Initial release. Provides
geom_error()(plusgeom_error_linerange(),geom_error_crossbar(),geom_error_pointrange()) wrapping ggplot2’s error geoms behind a singleerroraesthetic with automatic orientation inference.
