Skip to content

jasp-stats/jaspGraphs

Repository files navigation

jaspGraphs

R build status Documentation

Overview

jaspGraphs contains selective functions that extend ggplot2 for creating plots for JASP.

Typical workflow

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 theme

Installation

jaspGraphs 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")