Learn R Programming

round

Versions of round(x, digits) for R. This is less trivial than you may think: Numbers (and arithmetic) is in binary, rounding (apart from digits=0) is to decimals.

Copy Link

Version

Install

install.packages('round')

Monthly Downloads

1,071

Version

0.21-0.2

License

AGPL (>= 3) | file LICENSE

Maintainer

Last Published

January 10th, 2024

Functions in round (0.21-0.2)

mathC99

C99 'math' Library Functions (where Not in Standard aka 'Base' R)
randI

Random Integers of Specified Number of Digits
roundX

Rounding Numbers to Decimal Digits -- Variants