Apply a cosine-bell taper to a time series.
spec.taper(x, p = 0.1)
A univariate or multivariate time series
The proportion to be tapered at each end of the series, either a scalar (giving the proportion for all series) or a vector of the length of the number of series (giving the proportion for each series..
The cosine-bell taper is applied to the first and last
observations of time series
A new time series object.