Maintainer: Don van den Bergh
jaspGraphs contains selective functions that extend ggplot2 for creating plots for JASP.
For almost all plots, the idea is that you only use two functions of jaspGraphs: geom_rangeframe(), and themeJaspRaw().
Assuming you created some ggplot2 object called plot, you can do:
plot +
jaspGraphs::geom_rangeframe() + # add lines on the x-axis and y-axis
jaspGraphs::themeJaspRaw() # add the JASP themejaspGraphs is only available through GitHub, so you need to use some package that supports that (e.g., remotes, renv, pak, etc.)
remotes::install_github("jasp-stats/jaspGraphs")