cmps_na_trim | R Documentation |
Remove the leading and trailing missing values in a numeric vector
cmps_na_trim(x)
x |
numeric vector |
a numeric vector; only the leading and trailing missing values are removed
x <- c(NA, 1, 2, 3, 4, NA) cmps_na_trim(x)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.