A simple rounding function. The default round() function in R uses the IEC 60559 standard and therefore it rounds 0.5 to 0 and rounds -1.5 to -2. The roundx() function accounts for this and helps to round 0.5 up to 1.
| Version: | 0.1.0 |
| Depends: | R (≥ 3.5.0) |
| Suggests: | spelling, testthat (≥ 3.0.0) |
| Published: | 2023-04-07 |
| DOI: | 10.32614/CRAN.package.roundyh |
| Author: | Duan Yuanheng [aut, cre, cph] |
| Maintainer: | Duan Yuanheng <yhyuanheng at gmail.com> |
| License: | MIT + file LICENSE |
| NeedsCompilation: | no |
| Language: | en-US |
| Materials: | README, NEWS |
| CRAN checks: | roundyh results |
| Reference manual: | roundyh.html , roundyh.pdf |
| Package source: | roundyh_0.1.0.tar.gz |
| Windows binaries: | r-devel: roundyh_0.1.0.zip, r-release: roundyh_0.1.0.zip, r-oldrel: roundyh_0.1.0.zip |
| macOS binaries: | r-release (arm64): roundyh_0.1.0.tgz, r-oldrel (arm64): roundyh_0.1.0.tgz, r-release (x86_64): roundyh_0.1.0.tgz, r-oldrel (x86_64): roundyh_0.1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=roundyh to link to this page.