spec.taper {stats} | R Documentation |
Apply a cosine-bell taper to a time series.
spec.taper(x, p = 0.1)
x |
A univariate or multivariate time series |
p |
The total proportion to be tapered, either a scalar or a vector of the length of the number of series. |
The cosine-bell taper is applied to the first and last p[i]/2
observations of time series x[, i]
.
A new time series object.
From package MASS.
Kurt Hornik, B.D. Ripley