tis
or ts
time series to cut off leading and trailing
NA observations.naWindow(x, union = F)
tis
or ts
time seriesx
with leading and trailing NA observations deleted.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.window