niceNum: Tidy rounding

Description Usage Arguments

View source: R/helper.R

Description

Tidy rounding

Usage

1
niceNum(x, digits = 2)

Arguments

x

figure to be rounded, can be a vector

digits

number of decimal places to display to, defaults to 2


Avery-Lisa/myReportRx documentation built on May 23, 2021, 2:30 a.m.