Package: ggstats 0.12.0.9000
ggstats: Extension to 'ggplot2' for Plotting Stats
Provides new statistics, new geometries and new positions for 'ggplot2' and a suite of functions to facilitate the creation of statistical plots.
Authors:
ggstats_0.12.0.9000.tar.gz
ggstats_0.12.0.9000.zip(r-4.6)ggstats_0.12.0.9000.zip(r-4.5)ggstats_0.12.0.9000.zip(r-4.4)
ggstats_0.12.0.9000.tgz(r-4.6-any)ggstats_0.12.0.9000.tgz(r-4.5-any)
ggstats_0.12.0.9000.tar.gz(r-4.6-any)ggstats_0.12.0.9000.tar.gz(r-4.5-any)
ggstats_0.12.0.9000.tgz(r-4.5-emscripten)
ggstats.pdf |ggstats.html✨
ggstats/json (API)
NEWS
| # Install 'ggstats' in R: |
| install.packages('ggstats', repos = c('https://larmarange.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/larmarange/ggstats/issues
Pkgdown/docs site:https://larmarange.github.io
Last updated from:db975529b4. Checks:9 OK. Indexed: yes.
| Target | Result | Total time | Artifact |
|---|---|---|---|
| linux-devel-x86_64 | OK | 188 | |
| source / vignettes | OK | 321 | |
| linux-release-x86_64 | OK | 190 | |
| macos-devel-arm64 | OK | 155 | |
| macos-release-arm64 | OK | 125 | |
| windows-devel | OK | 176 | |
| windows-release | OK | 136 | |
| windows-oldrel | OK | 211 | |
| wasm-release | OK | 170 |
Exports:augment_chisq_add_phiauto_contrastcompute_cascadegeom_bar_connectorgeom_connectorgeom_diverginggeom_diverging_textgeom_likertgeom_likert_textgeom_prop_bargeom_prop_connectorgeom_prop_textgeom_pyramidgeom_pyramid_textgeom_stripped_colsgeom_stripped_rowsGeomConnectorggcascadeggcoef_compareggcoef_dodgedggcoef_facetedggcoef_modelggcoef_multicomponentsggcoef_multinomggcoef_plotggcoef_tablegglikertgglikert_datagglikert_sidegglikert_stackedggsurveyhex_bwhex_bw_thresholdlabel_number_abslabel_percent_abslikert_palpal_extenderplot_cascadeposition_divergingposition_likertPositionDivergingPositionLikertround_anyscale_colour_extendedscale_fill_extendedscale_fill_likertsignif_starsstat_crossstat_propstat_weighted_meanStatCrossStatPropStatWeightedMeansymmetric_limitsweighted.medianweighted.quantileweighted.sum
Dependencies:clicpp11dplyrfarverforcatsgenericsggplot2gluegtableisobandlabelinglifecyclemagrittrpatchworkpillarpkgconfigpurrrR6RColorBrewerrlangS7scalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr
Compute cross-tabulation statistics with stat_cross()
Rendered fromstat_cross.Rmdusingknitr::rmarkdownon Jan 27 2026.Last update: 2022-10-13
Started: 2022-10-08
Compute custom proportions with stat_prop()
Rendered fromstat_prop.Rmdusingknitr::rmarkdownon Jan 27 2026.Last update: 2024-09-22
Started: 2022-10-08
Compute weighted mean with stat_weighted_mean()
Rendered fromstat_weighted_mean.Rmdusingknitr::rmarkdownon Jan 27 2026.Last update: 2022-10-08
Started: 2022-10-08
Geometries for diverging bar plots
Rendered fromgeom_diverging.Rmdusingknitr::rmarkdownon Jan 27 2026.Last update: 2025-02-18
Started: 2024-09-18
Plot Likert-type items with gglikert()
Rendered fromgglikert.Rmdusingknitr::rmarkdownon Jan 27 2026.Last update: 2026-01-27
Started: 2023-04-12
Plot model coefficients with ggcoef_model()
Rendered fromggcoef_model.Rmdusingknitr::rmarkdownon Jan 27 2026.Last update: 2025-12-21
Started: 2022-10-07
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Augment a chi-squared test and compute phi coefficients | augment_chisq_add_phi |
| Connect bars / points | GeomConnector geom_bar_connector geom_connector |
| Geometries for diverging bar plots | geom_diverging geom_diverging_text geom_likert geom_likert_text geom_pyramid geom_pyramid_text |
| Convenient geometries for proportion bar plots | geom_prop_bar geom_prop_connector geom_prop_text |
| Alternating Background Color | geom_stripped_cols geom_stripped_rows |
| Cascade plot | compute_cascade ggcascade plot_cascade |
| Plot model coefficients | ggcoef_compare ggcoef_dodged ggcoef_faceted ggcoef_model ggcoef_plot ggcoef_table |
| Deprecated functions | ggcoef_multicomponents ggcoef_multinom |
| Plotting Likert-type items | gglikert gglikert_data gglikert_side gglikert_stacked |
| Easy ggplot2 with survey objects | ggsurvey |
| Identify a suitable font color (black or white) given a background HEX color | auto_contrast hex_bw hex_bw_threshold |
| Label absolute values | label_number_abs label_percent_abs |
| Extend a discrete colour palette | pal_extender scale_colour_extended scale_fill_extended |
| Stack objects on top of each another and center them around 0 | PositionDiverging PositionLikert position_diverging position_likert |
| Round to multiple of any number. | round_any |
| Colour scale for Likert-type plots | likert_pal scale_fill_likert |
| Significance Stars | signif_stars |
| Compute cross-tabulation statistics | StatCross stat_cross |
| Compute proportions according to custom denominator | StatProp stat_prop |
| Compute weighted y mean | StatWeightedMean stat_weighted_mean |
| Symmetric limits | symmetric_limits |
| Weighted Median and Quantiles | weighted.median weighted.quantile |
| Weighted Sum | weighted.sum |
