pround: pround: Helper function for sweetstat

Description Usage Arguments Value See Also

Description

pround: Helper function for sweetstat

Pass a numeric value to pround

Pass a numeric string to pround

Vectorized pround

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
pround(.p, ...)

## S3 method for class 'numeric'
pround(.p, ..., .rnd_digit = 3)

## S3 method for class 'character'
pround(.p, ..., .rnd_digit = 3)

## Default S3 method:
pround(.p, ...)

Arguments

.p

a number to be rounded

...

(ignored) args to be passed to other methods

.rnd_digit

number to pass to <code>round</code>; defaults to 3

Value

a rounded numeric p value

See Also

Other sweetstat functions: statround, sweetpround, swtrnd_special


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