ts time series to cut off leading and trailing
NA (and optionally zero) observations.
see details below
For multivariate (multiple columns) series and
union = TRUE, a
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.
TRUE, the function chops off leading and
trailing observations that are either
NA or zero. Otherwise,
it chops only
A copy of
x with leading and trailing NA observations deleted.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.