apa_df {papaja} | R Documentation |
Typeset Degrees of Freedom
Description
This is a function for processing degrees of freedom. It takes care that trailing digits are only printed if non-integer values are given.
Usage
apa_df(x, digits = 2L, big.mark = "", elementwise = TRUE)
print_df(x, digits = 2L, big.mark = "", elementwise = TRUE)
Arguments
x |
Numeric. The degrees of freedom to report. |
digits |
Integer. The desired number of digits after the decimal point to
be used if |
big.mark |
character; if not empty used as mark between every
|
elementwise |
Logical. Determines whether the number of trailing digits
should be determined for each element of |
Value
An object of the same class as x
with all numeric values converted
to character.
See Also
Examples
apa_df(c(1, 1.23151))
[Package papaja version 0.1.2 Index]