clipat | 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.