jjstatsplot
A statistical visualization bridge for jamovi based on ggstatsplot and modern R plotting packages

Statistical Visualization Made Simple
jjstatsplot brings ggstatsplot and other R plotting tools to jamovi. Depending on the analysis and settings, the results can include hypothesis tests, effect sizes, uncertainty intervals, sample sizes, and distribution diagnostics.
The 19 analyses cover distributions, independent and paired comparisons, association, composition, trends, and networks.
✨ Key Features & Analysis Suite (19 Analyses)
All analyses are in the JJStatsPlot menu of jamovi, under the submenu shown below.
| Menu (JJStatsPlot →) |
Analysis |
Function |
Statistical details |
| Distribution |
Histogram |
jjhistostats |
Distribution histogram with an optional one-sample location test against a test value (Student’s t, Wilcoxon signed-rank, trimmed-mean bootstrap, or Bayesian t), centrality line, density overlay, and Q-Q/ECDF diagnostics. |
| Distribution |
Advanced Ridge Plot |
jjridges |
Staggered multi-group density ridges (joyplots) for comparing biomarker distribution shifts across stages or cohorts, with optional pairwise tests and effect sizes. |
| Distribution |
Waffle Charts |
jwaffle |
Approximate category proportions with an optional split. In a 100-square grid each square represents one percentage point. |
| Continuous vs Continuous |
Scatter Plot |
jjscatterstats |
Pairwise association with Pearson, Spearman, robust (Winsorized) or Bayesian correlation, regression fits, and marginal distribution plots. |
| Continuous vs Continuous |
Correlation Matrix |
jjcorrmat |
Zero-order and partial correlations with optional multiplicity adjustment and significance cross-outs for frequentist methods. |
| Continuous vs Continuous |
Hull Plot |
hullplot |
Bivariate scatter with concave polygonal hull boundaries (ggforce::geom_mark_hull) outlining analyst-supplied groups. |
| Categorical vs Continuous |
Box-Violin Plots to Compare Between Groups |
jjbetweenstats |
Independent-groups comparison with violin plots, boxplots and raw data points: Welch/Student t-test or ANOVA, Mann-Whitney/Kruskal-Wallis, Yuen trimmed-means, or Bayesian tests, pairwise post-hoc tests, and effect sizes. |
| Categorical vs Continuous |
Box-Violin Plots to Compare Within Groups |
jjwithinstats |
Repeated measurements (2–4 time points or conditions): paired t-test/repeated-measures ANOVA, Wilcoxon signed-rank/Friedman, trimmed-means, or Bayesian tests with paired trajectory lines. |
| Categorical vs Continuous |
Horizontal Box-Violin Comparison |
jjdotplotstats |
Horizontal box-violin comparison of a continuous variable across groups with parametric, nonparametric, robust, and Bayesian statistics. |
| Categorical vs Continuous |
Dot Chart (Summary vs Reference Value) |
jjdotchart |
Cleveland-style dot charts of group summaries (mean, median, trimmed mean, or mode) using Student-t, bootstrap, or Yuen trimmed-mean intervals and a test across equally weighted group summaries against a reference value when estimable. |
| Categorical vs Continuous |
Lollipop Chart |
lollipop |
Clean, high data-to-ink lollipop plots for comparing values (or group means/medians/sums) across categories. Descriptive; no tests. |
| Categorical vs Continuous |
Raincloud Plot |
raincloud |
Integrated distribution display combining raw points, boxplot summary, and half-violin cloud, with optional normality, variance (Brown-Forsythe) and group-comparison tests. |
| Categorical vs Continuous |
Advanced Raincloud Plot |
advancedraincloud |
Enhanced raincloud plot supporting longitudinal (subject-linked) data, clinical cutoffs, reference ranges, MCID bands, effect sizes, and change scores. |
| Categorical vs Categorical |
Bar Charts |
jjbarstats |
Stacked bar charts with Pearson’s chi-squared test and Cramér’s V, Fisher’s exact test for sparse 2×2 tables, McNemar’s test for paired data, or a Bayesian contingency analysis, plus natural-language summaries. |
| Categorical vs Categorical |
Pie Charts |
jjpiestats |
Proportions with optional goodness-of-fit, independence, paired McNemar, or Bayesian analysis. |
| Categorical vs Categorical |
Segmented Total Bar Charts |
jjsegmentedtotalbar |
100% stacked bars of segment composition within each category, with optional chi-squared/Fisher’s exact tests and standardized residuals. |
| Network |
Arc Diagram |
jjarcdiagram |
Network arc diagrams displaying connections and their strength between discrete entities (genes, patients, comorbidities), with network statistics. |
| Lines |
Line Chart |
linechart |
Trends over numeric, categorical or R Date/POSIXct x-values, with optional confidence bands and trend summaries. Trend inference assumes independent rows. |
| All-In-One |
Automatic Plot Selection |
statsplot2 |
Routes by variable types and the user-selected design. Check that the resulting method answers your research question. |
Practice with the jamovi workbooks
Open the examples from Open → Data Library → jjstatsplot. Select a saved result to inspect its variable assignments and options. The workbook guide lists the arguments each example demonstrates. Guided jamovi workbooks
Reproduce the analysis
Use jamovi’s Syntax Mode to inspect the R call. Record the module version, variable roles, filters, statistical approach, and seed when the output uses resampling or posterior sampling.
Check the unit of analysis before interpreting a result. Use independent-group comparisons for independent observations, and use the within-group comparison for repeated measures stored in separate columns. A split-by variable creates separate analyses. An association or change from baseline alone cannot establish a treatment effect, and clinical overlays use values supplied by the analyst.
📦 Installation
In jamovi (Recommended)
- Open jamovi (>= 2.7.27).
- Click Modules (top right) → jamovi library.
- Search for jjstatsplot.
- Click Install.
Check the version shown by jamovi when reproducing a saved analysis.
As an R Package
# Install development version from GitHub
remotes::install_github("sbalci/jjstatsplot")
# The package loads as
library(jjstatsplot)
🏃 Quick Start (R Interface)
library(jjstatsplot)
# 1. Distribution with a one-sample t-test against a reference value
# (without enableOneSampleTest the subtitle tests against 0)
jjstatsplot::jjhistostats(
data = iris,
dep = "Sepal.Length",
xlab = "Sepal Length (cm)",
enableOneSampleTest = TRUE,
testValue = 5.8,
resultssubtitle = TRUE
)
# 2. Between-group box-violin comparison with Kruskal-Wallis test
jjstatsplot::jjbetweenstats(
data = transform(mtcars, cyl = factor(cyl)),
dep = "mpg",
group = "cyl",
typestatistics = "nonparametric",
resultssubtitle = TRUE
)
# 3. Correlation matrix with significance markers
jjstatsplot::jjcorrmat(
data = mtcars,
dep = c("mpg", "hp", "wt", "qsec")
)
# 4. Raincloud plot combining half-density, boxplot, and raw observations
jjstatsplot::raincloud(
data = iris,
dep_var = "Sepal.Width",
group_var = "Species"
)
📚 Documentation & Resources
📄 Citation
If you use jjstatsplot in your research, please cite:
@software{balci2026jjstatsplot,
title = {jjstatsplot: Statistical Visualizations for jamovi},
author = {Serdar Balci},
year = {2026},
version = {1.1.7},
url = {https://www.serdarbalci.com/jjstatsplot/}
}
And the umbrella ClinicoPath project:
@manual{balci2026clinicopath,
title = {ClinicoPath: jamovi Module for Clinicopathological Research},
author = {Serdar Balci},
year = {2026},
url = {https://www.serdarbalci.com/ClinicoPathJamoviModule/},
doi = {10.5281/zenodo.3997188}
}
Please also cite the underlying package:
- Patil, I. (2021). Visualizations with statistical details: The ‘ggstatsplot’ approach. Journal of Open Source Software, 6(61), 3167.
📝 License
GPL (>= 2) — see the LICENSE.md file for details.
评论