An open API service indexing awesome lists of open source software.

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

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%"
)
```
# rounders

The 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")
```