round_any: Round to multiple of any number

View source: R/internal_utility_functions.R

round_anyR Documentation

Round to multiple of any number

Description

Round to multiple of any number

Usage

round_any(x, accuracy, f = round)

Arguments

x

numeric vector to round

accuracy

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

f

rounding function: floor, ceiling or round

Author(s)

Hadley Wickham


MikkoVihtakari/PlotSvalbard documentation built on July 12, 2022, 10:20 a.m.