APA_sem: Return a Std. Error of the Mean (SEM) value in APA style

Description Usage Arguments Value Examples

Description

APA_sem takes a number (numeric or character) and returns it with appropriate APA formatting, with options for print-friendly labelling.

Usage

1
APA_sem(stat, rmd_format = TRUE, digit = 3)

Arguments

stat

A number, supplied as a numeric or character value.

rmd_format

Either TRUE (the default) to return the number with a Latex/rMarkdown-friendly test label and equal sign prepended (e.g., "\\textitMS$_e$ $=$ 12.34"); or, FALSE, to return just the number with rounding.

digit

How many significant digits (defaults to 3)? Passed to formattable with options format = "f" and digits = digit.

Value

A string.

Examples

1
# lapply(runif(n = 100, min = 0.10, max = 10.0), APA_sem)

darrellpenta/APAstyler documentation built on May 14, 2019, 6:10 p.m.