Package: ggstats 0.7.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:Joseph Larmarange [aut, cre]

ggstats_0.7.0.9000.tar.gz
ggstats_0.7.0.9000.zip(r-4.5)ggstats_0.7.0.9000.zip(r-4.4)ggstats_0.7.0.9000.zip(r-4.3)
ggstats_0.7.0.9000.tgz(r-4.4-any)ggstats_0.7.0.9000.tgz(r-4.3-any)
ggstats_0.7.0.9000.tar.gz(r-4.5-noble)ggstats_0.7.0.9000.tar.gz(r-4.4-noble)
ggstats_0.7.0.9000.tgz(r-4.4-emscripten)ggstats_0.7.0.9000.tgz(r-4.3-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'))

Peer review:

Bug tracker:https://github.com/larmarange/ggstats/issues

On CRAN:

12.76 score 33 stars 151 packages 166 scripts 78k downloads 50 exports 38 dependencies

Last updated 1 months agofrom:2dcf6ca1e8. Checks:OK: 7. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 10 2024
R-4.5-winOKNov 10 2024
R-4.5-linuxOKNov 10 2024
R-4.4-winOKNov 10 2024
R-4.4-macOKNov 10 2024
R-4.3-winOKNov 10 2024
R-4.3-macOKNov 10 2024

Exports:augment_chisq_add_phiauto_contrastcompute_cascadegeom_diverginggeom_diverging_textgeom_likertgeom_likert_textgeom_prop_bargeom_prop_textgeom_pyramidgeom_pyramid_textgeom_stripped_colsgeom_stripped_rowsggcascadeggcoef_compareggcoef_modelggcoef_multicomponentsggcoef_multinomggcoef_plotggcoef_tablegglikertgglikert_datagglikert_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:clicolorspacecpp11dplyrfansifarverforcatsgenericsggplot2gluegtableisobandlabelinglatticelifecyclemagrittrMASSMatrixmgcvmunsellnlmepatchworkpillarpkgconfigpurrrR6RColorBrewerrlangscalesstringistringrtibbletidyrtidyselectutf8vctrsviridisLitewithr

Compute cross-tabulation statistics with stat_cross()

Rendered fromstat_cross.Rmdusingknitr::rmarkdownon Nov 10 2024.

Last update: 2022-10-13
Started: 2022-10-08

Compute custom proportions with stat_prop()

Rendered fromstat_prop.Rmdusingknitr::rmarkdownon Nov 10 2024.

Last update: 2024-09-22
Started: 2022-10-08

Compute weighted mean with stat_weighted_mean()

Rendered fromstat_weighted_mean.Rmdusingknitr::rmarkdownon Nov 10 2024.

Last update: 2022-10-08
Started: 2022-10-08

Geometries for diverging bar plots

Rendered fromgeom_diverging.Rmdusingknitr::rmarkdownon Nov 10 2024.

Last update: 2024-09-22
Started: 2024-09-18

Plot Likert-type items with gglikert()

Rendered fromgglikert.Rmdusingknitr::rmarkdownon Nov 10 2024.

Last update: 2024-09-22
Started: 2023-04-12

Plot model coefficients with ggcoef_model()

Rendered fromggcoef_model.Rmdusingknitr::rmarkdownon Nov 10 2024.

Last update: 2024-09-22
Started: 2022-10-07

Readme and manuals

Help Manual

Help pageTopics
Augment a chi-squared test and compute phi coefficientsaugment_chisq_add_phi
Geometries for diverging bar plotsgeom_diverging geom_diverging_text geom_likert geom_likert_text geom_pyramid geom_pyramid_text
Convenient geometries for proportion bar plotsgeom_prop_bar geom_prop_text
Alternating Background Colorgeom_stripped_cols geom_stripped_rows
Cascade plotcompute_cascade ggcascade plot_cascade
Plot model coefficientsggcoef_compare ggcoef_model ggcoef_multicomponents ggcoef_multinom ggcoef_plot ggcoef_table
Plotting Likert-type itemsgglikert gglikert_data gglikert_stacked
Easy ggplot2 with survey objectsggsurvey
Identify a suitable font color (black or white) given a background HEX colorauto_contrast hex_bw hex_bw_threshold
Label absolute valueslabel_number_abs label_percent_abs
Extend a discrete colour palettepal_extender scale_colour_extended scale_fill_extended
Stack objects on top of each another and center them around 0PositionDiverging PositionLikert position_diverging position_likert
Round to multiple of any number.round_any
Colour scale for Likert-type plotslikert_pal scale_fill_likert
Significance Starssignif_stars
Compute cross-tabulation statisticsStatCross stat_cross
Compute proportions according to custom denominatorStatProp stat_prop
Compute weighted y meanStatWeightedMean stat_weighted_mean
Symmetric limitssymmetric_limits
Weighted Median and Quantilesweighted.median weighted.quantile
Weighted Sumweighted.sum