#' APA style for ggplot2
#'
#' implements a ggplot2 style for APA 6th. Blank bg, no gridlines, bleak.
apatheme = theme_bw() +
theme(
panel.grid.major = element_blank(),
panel.grid.minor = element_blank(),
panel.background = element_blank(),
panel.border = element_blank(),
text = element_text(family = 'sans'),
legend.title = element_blank(),
legend.position = c(.7, .8),
axis.line.x = element_line(color = 'black'),
axis.line.y = element_line(color = 'black')
)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.