round_to_nearest: Round To Nearest.

Description Usage Arguments Value

View source: R/model_helper.R

Description

Round the data to the nearest number that can be divisible by divisor.

Usage

1
round_to_nearest(data, divisor, lower)

Arguments

data

A numeic vector

divisor

A numeric vector

lower

If TRUE, then round down, if FALSE, then round up.

Value

The rounded data.


carlonlv/DataCenterSim documentation built on Jan. 9, 2022, 3:26 p.m.