strip_ts_of_leading_nas: Strip Leading / Trailing NAs from a Time Series Object
Description
Removes NAs to begin with and starts time series index at the first non-NA value.
Usage
strip_ts_of_leading_nas(s)strip_ts_of_trailing_nas(s)
Arguments
- s
an object of class ts.