sweet_p: APA-style decimal rounding for p-values

Description Usage Arguments Value See Also

Description

This is the generic version of the function.

Pass a numeric value to sweet_p

Pass a numeric string value to sweet_p

Pass a integer value to sweet_p

Default method for sweetening a statistic

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
sweet_p(.stat, ...)

## S3 method for class 'numeric'
sweet_p(.stat, ...)

## S3 method for class 'character'
sweet_p(.stat, ...)

## S3 method for class 'integer'
sweet_p(.stat, ...)

## Default S3 method:
sweet_p(.stat, ...)

Arguments

.stat

a numeric value representing a statistic

...

(ignored)

Value

stat as APA-rounded character vector

See Also

Other sweet_stat functions: sweet_stat


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