round_gap: Round to a Gap of Given Width

Description Usage Arguments Examples

Description

Round to a Gap of Given Width

Usage

1
2
3

Arguments

x

numeric or integer vector

width

defines how wide a 'gap' is

Examples

1
2
floor_gap(c(5, 7, 8, 11, 15, 17, 25), width = 3)
ceiling_gap(c(5, 7, 8, 11, 15, 17, 25), width = 3)

nacnudus/rounders documentation built on May 14, 2019, 5:16 a.m.