powered by
remove NA values at the start and end
.trimNA(x)
numeric vector
subset of x with leading and trailing NAs removed