jitterNA {cwhmisc} | R Documentation |
Extension of jitter
to deal with NA entries
jitterNA(x,...)
x |
Data to be jittered, may be vector, matrix, or numerical data frame. |
... |
Other parameters for jitter . |
jitterNA(x, ...) return a numeric vector with jittered entries, NA entries are allowed and not changed
Christian W. Hoffmann <c-w.hoffmann@sunrise.ch>
http://www.wsl.ch/personal_homepages/hoffmann/index_EN
d <- data.frame(cbind(x=1, y=1:10)) d[5,1] <- d[3,2] <- NA jitterNA(d)