README.md

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


jasp-stats/jaspGraphs documentation built on April 20, 2024, 4:13 p.m.