\Header{seriesNames}{Names of Series in a time series object}
\methalias{seriesNames.default}{seriesNames}
\alias{seriesNames<\Rdash}{seriesNames}
\methalias{seriesNames<\Rdash.default}{seriesNames}
\methalias{seriesNames<\Rdash.ts}{seriesNames}
\keyword{programming}{seriesNames}
\keyword{utilities}{seriesNames}
\keyword{ts}{seriesNames}
\begin{Description}\relax
Extract or set names of series in a time series object.
\end{Description}
\begin{Usage}
\begin{verbatim}
    seriesNames(x)
    ## Default S3 method:
    seriesNames(x)

    seriesNames(x) <- value 
    ## Default S3 method:
    seriesNames(x) <- value
    ## S3 method for class 'ts':
    seriesNames(x) <- value
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] a time series object.
\item[\code{value}] names to be given to time series.
\end{ldescription}
\end{Arguments}
\begin{Value}
The first usage returns a vector of strings with the series names. 
The assignment method makes \code{names} (a vector of strings) 
the series names of data.\end{Value}
\begin{SeeAlso}\relax
\code{\Link{tframed}},
\code{\Link{seriesNamesInput}},
\code{\Link{seriesNamesOutput}}
\end{SeeAlso}
\begin{Examples}
\begin{ExampleCode}
    z <- matrix(rnorm(100), 50,2)
    seriesNames(z) <- c("a", "b")
    seriesNames(z)
\end{ExampleCode}
\end{Examples}

