set_apa_defaults: Sets APA style defaults for flextable and ggplot2

View source: R/apatfa.R

set_apa_defaultsR Documentation

Sets APA style defaults for flextable and ggplot2

Description

Sets APA style defaults for flextable and ggplot2

Usage

set_apa_defaults(
  digits = 2,
  na_str = "NA",
  nan_str = "NaN",
  fmt_datetime = "%Y-%m-%d %H:%M:%S %Z",
  fig_theme = ggplot2::theme(),
  styles = get_styles(),
  ...
)

Arguments

digits

significant digits for tables

na_str

string to be used for NA values in tables

nan_str

string to be used for NaN values in tables

fmt_datetime

format string for datatime values

fig_theme

additional ggplot2::theme settings for figures

styles

Styles to use.

...

args to pass to set_flextable_defaults()


toddagood/apatfa documentation built on Jan. 30, 2023, 11:51 p.m.