round_any: Round to multiple of any number

Description Usage Arguments Author(s)

View source: R/internal_utility_functions.R

Description

Round to multiple of any number

Usage

1
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/SuitableHabitat documentation built on Jan. 30, 2021, 12:50 a.m.