\HeaderA{ts-methods}{Methods for Time Series Objects}{ts.Rdash.methods}
\aliasA{diff.ts}{ts-methods}{diff.ts}
\aliasA{na.omit.ts}{ts-methods}{na.omit.ts}
\keyword{ts}{ts-methods}
\begin{Description}\relax
Methods for objects of class \code{"ts"}, typically the result of
\code{\LinkA{ts}{ts}}.
\end{Description}
\begin{Usage}
\begin{verbatim}
## S3 method for class 'ts':
diff(x, lag = 1, differences = 1, ...)

## S3 method for class 'ts':
na.omit(object, ...)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] an object of class \code{"ts"} containing the values to be
differenced.
\item[\code{lag}] an integer indicating which lag to use.
\item[\code{differences}] an integer indicating the order of the difference.
\item[\code{object}] a univariate or multivariate time series.
\item[\code{...}] further arguments to be passed to or from methods.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The \code{na.omit} method omits initial and final segments with
missing values in one or more of the series.  \sQuote{Internal}
missing values will lead to failure.
\end{Details}
\begin{Value}
For the \code{na.omit} method, a time series without missing values.
The class of \code{object} will be preserved.
\end{Value}
\begin{SeeAlso}\relax
\code{\LinkA{diff}{diff}};
\code{\LinkA{na.omit}{na.omit}}, \code{\LinkA{na.fail}{na.fail}},
\code{\LinkA{na.contiguous}{na.contiguous}}.
\end{SeeAlso}

