Wrapper functions to use ggstatsplot functions as a module in jamovi, also includes additional plots
See https://indrajeetpatil.github.io/ggstatsplot/
See https://sbalci.github.io/ClinicoPathJamoviModule/
[](https://www.jamovi.org)
[](https://www.jamovi.org)
[](https://indrajeetpatil.github.io/ggstatsplot/)
[](https://github.com/sbalci/jjstatsplot/actions/workflows/R-CMD-check.yaml)
[](https://CRAN.R-project.org/package=jjstatsplot)
[](https://lifecycle.r-lib.org/articles/stages.html#stable)
[-blue.svg)](https://www.gnu.org/licenses/gpl-2.0.html)
[](https://github.com/sbalci/jjstatsplot/releases)
[](https://github.com/sbalci/jjstatsplot/releases)
[](https://github.com/sbalci/jjstatsplot/commits/master)
[](https://github.com/sbalci/jjstatsplot)
[](https://www.r-project.org/)
[](https://github.com/sbalci/jjstatsplot/blob/master/DESCRIPTION)
## π Available Analyses
| Category | Analysis | ggstatsplot Function |
|----------|----------|---------------------|
| π **Continuous** | Histogram | `gghistostats` |
| π **Continuous vs Continuous** | Scatter Plot | `ggscatterstats` |
| π **Continuous vs Continuous** | Correlation Matrix | `ggcorrmat` |
| π **Categorical vs Continuous** | Box-Violin Plots (Between) | `ggbetweenstats` |
| π **Categorical vs Continuous** | Dot Charts | `ggdotplotstats` |
| π **Categorical vs Continuous** | Box-Violin Plots (Within) | `ggwithinstats` |
| π° **Categorical vs Categorical** | Bar Charts | `ggbarstats` |
| π° **Categorical vs Categorical** | Pie Charts | `ggpiestats` |
| π§ **Distribution** | Waffle Charts | Custom implementation |
## π Quick Start
### For jamovi Users
1. **Install**: Download from [jamovi library](https://library.jamovi.org/)
2. **Load**: Open jamovi β Modules β jjstatsplot
3. **Analyze**: Select your analysis from the `JJStatsPlot` menu
### For R Users
```r
# Install from GitHub
devtools::install_github("sbalci/jjstatsplot")
# Load package
library(jjstatsplot)
# Use functions directly
jjhistostats(data = mydata, dep = "variable")
### Installation Widget
```markdown
## πΎ Installation
### jamovi Installation
```markdown
1. Open jamovi
2. Go to Modules (β) in the top menu
3. Select "jamovi library"
4. Search for "jjstatsplot"
5. Click Install
# From GitHub (latest development version)
if (!require(devtools)) install.packages("devtools")
devtools::install_github("sbalci/jjstatsplot")
# From CRAN (stable version - when available)
install.packages("jjstatsplot")
### Key Features Widget
```markdown
## β¨ Key Features
- π― **Point-and-click interface** in jamovi
- π **9 statistical plot types** with automatic statistics
- π§ **Dual-mode operation**: Single variables or grouped analyses
- π¨ **Flexible theming**: jamovi or ggstatsplot themes
- π **Statistical annotations**: Automatic significance testing
- π **Grouped plotting**: Multiple dependent variables support
- π **Rich customization**: Extensive options through jamovi UI
- π **R integration**: Use functions directly in R scripts
## π Resources
| Resource | Link |
|----------|------|
| π **Documentation** | [Package docs](https://sbalci.github.io/jjstatsplot/) |
| π **ggstatsplot Guide** | [ggstatsplot docs](https://indrajeetpatil.github.io/ggstatsplot/) |
| π **jamovi** | [jamovi.org](https://www.jamovi.org) |
| π **Issues** | [Report bugs](https://github.com/sbalci/ClinicoPathJamoviModule/issues/) |
| π¬ **Discussions** | [GitHub Discussions](https://github.com/sbalci/jjstatsplot/discussions) |
| π§ **Contact** | [email protected] |
## π Citation
If you use jjstatsplot in your research, please cite:
```bibtex
@software{jjstatsplot,
author = {Serdar Balci},
title = {jjstatsplot: Wrapper for ggstatsplot in jamovi},
url = {https://github.com/sbalci/jjstatsplot},
version = {0.0.3.21},
year = {2024}
}
Also cite the underlying packages:
- ggstatsplot: Patil, I. (2021). Visualizations with statistical details: The 'ggstatsplot' approach. Journal of Open Source Software, 6(61), 3167.
- jamovi: The jamovi project (2022). jamovi (Version 2.3) [Computer Software].
## Complete README Template
### Suggested README structure using these widgets:
```markdown
# jjstatsplot
[Status badges section]
[Quick description]
[Feature highlights table]
## Installation
[Installation widget]
## Quick Start
[Quick start widget]
## Key Features
[Key features widget]
## Documentation
[Links widget]
## Citation
[Citation widget]