clip(timeslab)R Documentation

Clip a Vector Above and Below

Description

Clip a Vector Above and Below

Usage

clip(x,low=-1.e20,up=1e.20)

Arguments

x A vector.
low The value that will replace any element of {x} that is less than {low}.
up The value that will replace any element of {x} that is greater than {up}.

Value

x The original {x} with any element less that {low} replaced by {low} and any element greater than {up} replaced by {up}.


[Package Contents]