snap: Restrict numeric data to the interval [lower, upper]

View source: R/impute-quantile_pred.R

snapR Documentation

Restrict numeric data to the interval [lower, upper]

Description

Restrict numeric data to the interval [lower, upper]

Usage

snap(x, lower, upper, ...)

Arguments

x

a numeric vector

lower

number, the lower bound

upper

number, the upper bound

...

unused

Value

An object of the same type as x


hardhat documentation built on April 4, 2026, 5:07 p.m.