statround: statround: Helper functions for sweetstat

Description Usage Arguments Value See Also

Description

statround: Helper functions for sweetstat

Pass a numeric value to statround

Pass a numeric string to statround

Vectorized statround

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
statround(.stat, ...)

## S3 method for class 'numeric'
statround(.stat, ..., .rnd_digit = 3)

## S3 method for class 'character'
statround(.stat, ..., .rnd_digit = 3)

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

Arguments

.stat

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

See Also

Other sweetstat functions: pround, sweetpround, swtrnd_special


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