prettyround

0th

Percentile

Return a rounded vector with equal number of digits

prettyround Return a formatted version of numeric vector.

Usage
prettyround(p, r = 3)
Arguments
p

Vector of numerical values

r

A numeric value that indicates the number of digits to round to

Details

No detail.

Value

Return a formatted vector with rounded numbers

Aliases
  • prettyround
Examples
# NOT RUN {
prettyround(c(-0.05,0.001,0.00001),3)

# }
Documentation reproduced from package ClinReport, version 0.9.1.1, License: GPL (>= 2)

Community examples

Looks like there are no examples yet.