https://github.com/nacnudus/rounders
Round Numbers with R
https://github.com/nacnudus/rounders
Last synced: 2 months ago
JSON representation
Round Numbers with R
- Host: GitHub
- URL: https://github.com/nacnudus/rounders
- Owner: nacnudus
- License: other
- Created: 2018-12-18T16:47:31.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-12-18T16:54:33.000Z (over 6 years ago)
- Last Synced: 2025-01-05T18:28:07.904Z (4 months ago)
- Language: R
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.Rmd
- License: LICENSE
Awesome Lists containing this project
README
---
output: github_document
---```{r setup, include = FALSE}
knitr::opts_chunk$set(
collapse = TRUE,
comment = "#>",
fig.path = "man/figures/README-",
out.width = "100%"
)
```
# roundersThe rounders package implements rounding algorithms
* `floor_gap(x, width)` and `ceiling_gap(x, width)` round to the nearest gap in
a sequence.```{r}
library(rounders)example(round_gap)
```## Installation
You can install the development version from GitHub with devtools or remotes.
```r
install.packages("devtools")
devtools::install_github("nacnudus/rounders")
```