strip_nas: Strip Leading / Trailing NAs from a Time Series Object

strip_ts_of_leading_nasR Documentation

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.


tstools documentation built on Sept. 11, 2025, 5:12 p.m.