clipat {plgraphics} | R Documentation |
Drop values outside a given range
clipat(x, range=NULL, clipped=NULL)
x |
vector of data to be clipped at |
range |
range, a numerical vector of 2 elements |
clipped |
if |
As the input x
, with pertinent elements dropped or replaced
Werner A, Stahel
clipat(rnorm(10,8,2), c(10,20), clipped=NA)