\Header{tbind}{Bind Time Series}
\methalias{tbind.default}{tbind}
\methalias{tbind.ts}{tbind}
\keyword{programming}{tbind}
\keyword{utilities}{tbind}
\keyword{ts}{tbind}
\begin{Description}\relax
Bind together (in non-time dimension) two time series objects.
\end{Description}
\begin{Usage}
\begin{verbatim}
    tbind(x, ..., pad.start=TRUE, pad.end=TRUE, warn=TRUE)
    ## Default S3 method:
    tbind(x, ..., pad.start=TRUE, pad.end=TRUE, warn=TRUE)
    ## S3 method for class 'ts':
    tbind(x, ..., pad.start=TRUE, pad.end=TRUE, warn=TRUE)
    \end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] A time series object.
\item[\code{...}] Time series objects.
\item[\code{pad.start}] Logical indicating if the start should be truncated or
padded with NAs to align time.
\item[\code{pad.end}] Logical indicating if the end should be truncated or
padded with NAs to align time.
\item[\code{warn}] Logical indicating if warnings should be issued.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
Bind data as in cbind (or formerly tsmatrix) and align time dimension. 
The default action pads series with NA to time union. 
If pad.start and/or pad.end is FALSE and the intersection is empty then NULL
is returned and a warning is issued if warn=TRUE.
\end{Details}
\begin{Value}
A time series object\end{Value}
\begin{SeeAlso}\relax
\code{\Link{tfwindow}},
\code{\Link{trimNA}},
\code{\Link{splice}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
tbind(    ts(matrix(rnorm(24),24,1), start=c(1986,1), frequency=4),
    ts(matrix(rnorm(6),  6,1), start=c(1986,1), frequency=4))
\end{ExampleCode}
\end{Examples}

