Learn R Programming

contextual (version 0.9.8.4)

clipr: Clip vectors

Description

Clips values to a mininum and maximum value. That is, all values below the lower clamp value and the upper clamp value become the lower/upper value specified

Usage

clipr(x, min, max)

Arguments

x

to be clipped vector

min

numeric. lowest value

max

numeric. highest value