\Header{ts-methods}{Methods for Time Series Objects}
\alias{diff.ts}{ts-methods}
\alias{na.omit.ts}{ts-methods}
\keyword{ts}{ts-methods}
\begin{Description}\relax
Methods for objects of class \code{"ts"}, typically the result of
\code{\Link{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{\Link{diff}};
\code{\Link{na.omit}}, \code{\Link{na.fail}},
\code{\Link{na.contiguous}}.
\end{SeeAlso}

