Complete Plots

drawBFpizza()

Make a pizza plot

JASPScatterPlot()

Create a scatter plot with density

PlotPriorAndPosterior()

Create a prior-posterior plot.

PlotRobustnessSequential()

Create a robustness or sequential plot

plotPieChart()

Make a Pie Chart

plotQQnorm()

Make a Q-Q plot

descriptivesPlot()

Descriptive plot of categorical variable (x-axis) vs. a continuous variable (y-axis)

jaspHistogram()

Histograms and Density plots for JASP

Geoms

geom_aligned_text()

Add aligned text to plots

geom_point() geom_line()

Custom geoms

geom_rangeframe()

Add base R's bty = 'n' to ggplot2 objects.

geom_abline2()

Add an abline that does not exceed the extrema of the axes breaks.

Themes

Complete themes. Best is to make these available through a dropdown

themeApaRaw()

APA theme for ggplot2 objects based on jtools::theme_apa

themeJaspRaw()

JASP theme for ggplot2 objects

themePubrRaw()

Pubr theme for ggplot2 objects based on ggpubr::theme_pubr

getEmptyTheme()

Return an empty theme

Global Graph Options

list of options to modify plot settings (e.g., the theme) globally

.graphOptions getGraphOption() setGraphOption() graphOptions()

Global graph options

Color Palettes

JASPcolors() scale_JASPcolor_continuous() scale_JASPfill_continuous() scale_JASPcolor_discrete() scale_JASPfill_discrete()

JASP color palettes

Miscellaneous

getPrettyAxisBreaks()

Compute axis breaks

parseThis() needsParsing()

Tell that this string should be parsed.

axesLabeller()

Parse numeric to character in a visually appeasing way.

getAxisBreaks()

Get the axis breaks of a ggplot2 object

hypothesis2BFtxt()

Get text for Bayes factor pie chart given hypothesis

plotEditing()

Edit a plot

plotEditingOptions()

Get the editable options for a plot

scale_x_continuous() scale_y_continuous()

Continuous axis scales

getBFSubscripts()

Obtain strings of expressions for common Bayes factor types depending on the hypothesis.

jaspGraphsPlot

An R6 wrapper around multiple ggplot2 objects to postpone drawing of a figure. This is mainly necessary because composed ggplot2 objects typically becomes grobs which cannot be edited at the moment.

`[[`(<jaspGraphsPlot>) `[[<-`(<jaspGraphsPlot>) is.jaspGraphsPlot() length(<jaspGraphsPlot>) names(<jaspGraphsPlot>)

Methods for interacting with a jaspGraphsPlot

ggMatrixPlot()

ggMatrixPlot

Deprecated

Do not use, and please remove these functions wherever you see they are used.

drawAxis()

Deprecated: use ggplot2::ggplot() + ggplot2::scale_x|y_continuous(...) instead.

drawLines()

Deprecated: use ggplot2::geom_line instead.

drawPoints()

Deprecated: use ggplot2::geom_point instead.

drawSmooth()

Deprecated: use ggplot2::geom_smooth instead.

themeJasp()

Deprecated: use themeJaspRaw and geom_rangeframe instead.