Description Usage Arguments Value Examples
APA_stat
allows you to append your own labels to a statistic.
1 2 |
stat |
A number, supplied as a numeric or character value. |
pre_stat |
A string to be prepended to you number. Default is |
post_stat |
A string to be appended to your number. Default is |
snip |
Do you want to snip a leading zero from a number bounded by 1? Defaults to |
digit |
How many significance digits (defaults to 2, which is suitable for many APA applications)? Passed to |
... |
Optional arguments to be passed to |
stat
as a string with APA formatting and/or other options applied.
1 | # lapply(runif(n = 100, min = 0.00003, max = .99), APA_p, rmd_format = TRUE)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.