naWindow {tis} | R Documentation |
Windows a tis
or ts
time series to cut off leading and trailing
NA observations.
naWindow(x, union = F)
x |
a tis or ts time series |
union |
see details below |
For multivariate (multiple columns) series and union = TRUE
, a
row of x
is considered to be NA if and only if all entries in
that row are NA. If union = FALSE
(the default), a row is
considered to be NA if any of its entries is NA.
A copy of x
with leading and trailing NA observations deleted.