vector.clip {InspectChangepoint}R Documentation

Clipping a vector from above and below

Description

Clipping vector or matrix x from above and below

Usage

vector.clip(x, upper = Inf, lower = -upper)

Arguments

x

a vector of real numbers

upper

clip above this value

lower

clip below this value

Value

the entrywise L_q norm of a vector or a matrix


[Package InspectChangepoint version 1.2 Index]