theme_apa: ggplot2 Theme for APA Publications

View source: R/plot.R

theme_apaR Documentation

ggplot2 Theme for APA Publications

Description

ggplot2 Theme for APA Publications

A ggplot2 theme with no background and Times New Roman font (legend size not affected).

Usage

theme_apa(plot.box = FALSE, title.size = 20, lab.size = 18, text.size = 16)

Arguments

plot.box

logical. If TRUE a full box surrounds the plot area. If FALSE only the x and y axis are shown.

lab.size

default 18

text.size

default 16

Note

In order for R (at least on Mac) to recognize Times New Roman font, extrafont required

Author(s)

Jerry modified from trinker/plotflow

See Also

theme theme_apa_nosize


jerryzhujian9/zmisc documentation built on March 9, 2024, 12:49 a.m.