Clip a numeric vector Clip a numeric vector between lower and upper bounds.

rcpp_clip(x, a, b)

Arguments

x

a numeric vector.

a

lower bound (double).

b

upper bound (double).

Value

a numeric vector.

Examples

cat("no examples")
#> no examples