roundn: Round to nearest integer multiple of n

roundnR Documentation

Round to nearest integer multiple of n

Description

Round to nearest integer multiple of n

Usage

roundn(x, n = 1)

Arguments

x

A vector

n

A number

Value

Rounded vector

Examples

roundn(runif(10)*10, 2)

powestermark/pwrutilities documentation built on Dec. 28, 2024, 4:44 a.m.