- x
String. The reported mean or percentage value.
- n
Integer. The reported sample size.
- items
Numeric. The number of items composing x. Default is 1, the
most common case.
- percent
Logical. Set percent to TRUE if x is a percentage. This
will convert it to a decimal number and adjust the decimal count (i.e.,
increase it by 2). Default is FALSE.
- show_rec
Logical. For internal use only. If set to TRUE, the output
is a matrix that also contains intermediary values from GRIM-testing. Don't
specify this manually; instead, use show_rec in grim_map(). Default
is FALSE.
- rounding
String. Rounding method or methods to be used for
reconstructing the values to which x will be compared. Default is
"up_or_down" (from 5).
- threshold
Numeric. If rounding is set to "up_from", "down_from",
or "up_from_or_down_from", set threshold to the number from which the
reconstructed values should then be rounded up or down. Otherwise, this
argument plays no role. Default is 5.
- symmetric
Logical. Set symmetric to TRUE if the rounding of
negative numbers with "up", "down", "up_from", or "down_from"
should mirror that of positive numbers so that their absolute values are
always equal. Default is FALSE.
- tolerance
Numeric. Tolerance of comparison between x and the
possible mean or percentage values. Default is circa 0.000000015
(1.490116e-08), as in dplyr::near().