Remove NA's, NAN's and INF's from a vector.
rm.na(x)
x
A vector with all NA's remove.
Jean Yang
x <- round(rnorm(10), 2) x[c(2,4,5)] <- NA x rm.na(x)