\Header{spec.taper}{Taper a Time Series}
\keyword{ts}{spec.taper}
\begin{Description}\relax
Apply a cosine-bell taper to a time series.\end{Description}
\begin{Usage}
\begin{verbatim}
spec.taper(x, p=0.1)
\end{verbatim}
\end{Usage}
\begin{Arguments}
\begin{ldescription}
\item[\code{x}] A univariate or multivariate time series
\item[\code{p}] The total proportion to be tapered, either a scalar or a
vector of the length of the number of series.
\end{ldescription}
\end{Arguments}
\begin{Details}\relax
The cosine-bell taper is applied to the first and last \code{p[i]/2}
observations of time series \code{x[, i]}.\end{Details}
\begin{Value}
A new time series object.\end{Value}
\begin{Note}\relax
From package \file{MASS}.\end{Note}
\begin{Author}\relax
Kurt Hornik, B.D. Ripley\end{Author}
\begin{SeeAlso}\relax
\code{\Link{spec.pgram}}, \code{\Link{cpgram}}\end{SeeAlso}

