limit: Limit

View source: R/limit.R

limitR Documentation

Limit

Description

Limit a numeric vector by lower and upper bounds

Usage

limit(x, lower = min(x), upper = max(x))

Arguments

x

A numeric vector

lower

A lower limit (as x < lower)

upper

An upper limit (as x > higher)

Value

The vector x with lower and upper as the minimum, maximum values


mark documentation built on Oct. 23, 2023, 9:06 a.m.

Related to limit in mark...