round_to_any: round_to_any

Description Usage Arguments Value

View source: R/util.R

Description

because we don't want to have to suggest plyr, if we can avoid it.

Usage

1
round_to_any(x, accuracy, f = round)

Arguments

x

numeric or date-time (POSIXct) vector to round

accuracy

number to round to; for POSIXct objects, a number of seconds

f

rounding function: floor, ceiling or round

Value

a numeric vector


almartin82/mapvizieR documentation built on May 10, 2018, 11:59 p.m.