sweetpround: Sweeten a statistic: Helper for Stat Sweet

Description Usage Arguments Value See Also

Description

Sweeten a statistic: Helper for Stat Sweet

Usage

1
sweetpround(.stat, rnd_digit, interval = "sig", lead_zero = FALSE, ...)

Arguments

.stat

a numeric value representing a statistic

rnd_digit

value to pass to round function, defaults to 2

interval

Which .stat should return is value as an interval cut-off? (Default is none, so a .stat is returned representing the underlying number); sig will return intervals for values in the range: 0<>0.001<>.01<>.05, and otherwise return a sweet p; code will return the interval values in the range: 0<>0.001<>.01<>.05<>.10<>99. APA suggests reporting p values in a range for figures and tables in some cases. Automatically returned without leading zeros, so lead_zero is ignored when interval=TRUE

lead_zero

(FALSE) Should the leading zero (before the decimal) be preserved? Defaults to FALSE, removing the zero in accordance with APA recommendations.

...

(ignored)

Value

value for passing to sweetstat

See Also

Other sweetstat functions: pround, statround, swtrnd_special


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