apa_p {papaja} | R Documentation |
Prepare Numeric Values for Printing as p value
Description
Convenience wrapper for apa_num
to print p values.
Usage
apa_p(x, digits = 3L, na_string = "", add_equals = FALSE)
printp(x, digits = 3L, na_string = "", add_equals = FALSE)
print_p(x, digits = 3L, na_string = "", add_equals = FALSE)
Arguments
x |
Numeric. The p value(s) to report. |
digits |
Integer. The desired number of digits after the decimal point, passed on to |
na_string |
Character. String to print if any element of |
add_equals |
Logical. Indicates if the output string should be
prepended with an |
Value
An object of the same class as x
with all numeric values converted
to character.
See Also
Examples
apa_p(0.05)
apa_p(0.0005)
apa_p(0.99999999)
apa_p(c(.001, 0), add_equals = TRUE)
[Package papaja version 0.1.2 Index]