clipat {plgraphics} | R Documentation |
Clip Data Outside a Range
Description
Drop values outside a given range
Usage
clipat(x, range=NULL, clipped=NULL)
Arguments
x |
vector of data to be clipped at |
range |
range, a numerical vector of 2 elements |
clipped |
if |
Value
As the input x
, with pertinent elements dropped or replaced
Author(s)
Werner A, Stahel
Examples
clipat(rnorm(10,8,2), c(10,20), clipped=NA)
[Package plgraphics version 1.2 Index]