JASP theme for ggplot2 objects

themeJaspRaw(
  legend.position = "none",
  legend.cex = 1,
  axis.title.cex = 1,
  family = getGraphOption("family"),
  axisTickLength = getGraphOption("axisTickLength"),
  axisTickWidth = getGraphOption("axisTickWidth"),
  fontsize = getGraphOption("fontsize"),
  legend.justification = "top",
  legend.title = element_text(family = family, size = fontsize, hjust = 0.5),
  Xvjust = NULL,
  Yvjust = NULL
)

Arguments

legend.position

where should the legend be?

legend.cex

magnification of the font size for the legend.

axis.title.cex

scalar magnification for the title of the axes.

family

global font familiy.

axisTickLength

length of axis ticks.

axisTickWidth

width of axis ticks.

fontsize

global font size.

legend.justification

see theme

legend.title

should legend have a title?

Xvjust

adjustment of x-axis tick labels

Yvjust

adjustment of y-axis tick labels