bwadap(x, ...)
x
is a univariate time series with class ts
, bwadap
returns an appropriate smoothing parameter for spectral density estimation. If x
is a univariate data vector with class numeric
, bwadap
returns a bandwidth for density estimation.
bwadap.numeric
, bwadap.ts