na.omit.strip | R Documentation |
Calls na.omit() and returns a clean vector. Omit NA values from a vector and return a clean vector without any spam.
## S3 method for class 'strip'
na.omit(object, silent = FALSE, ...)
object |
Values to filter for NA |
silent |
Silence the data structure coversion warning: anything ->vector |
... |
Pass any other argument to na.omit() |
# CodeAndRoll2::na.omit.strip(c(1, 2, 3, NA, NaN, 2))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.