Usage
psdcore(X.d, X.frq = NULL, ntaper = as.tapers(1), ndecimate = 1L,
preproc = TRUE, na.action = stats::na.fail, first.last = TRUE,
plotpsd = FALSE, as.spec = TRUE, refresh = FALSE, verbose = FALSE,
...)## S3 method for class 'default':
psdcore(X.d, X.frq = NULL, ntaper = as.tapers(1),
ndecimate = 1L, preproc = TRUE, na.action = stats::na.fail,
first.last = TRUE, plotpsd = FALSE, as.spec = TRUE, refresh = FALSE,
verbose = FALSE, ...)
Arguments
X.d
the series to estimate a spectrum for
X.frq
scalar; the sampling information (see
section Sampling)
ntaper
scalar, or vector; the number of tapers
ndecimate
scalar; decimation factor
preproc
logical; should X.d
have a linear
trend removed?
na.action
the function to deal with NA
values
first.last
the extrapolates to give the zeroth and
Nyquist frequency estimates
plotpsd
logical; should the estimate be shown
compared to the spec.pgram
estimate
as.spec
logical; should the object returned be of
class 'spec'?
refresh
logical; ensure a free environment prior
to execution
verbose
logical; should messages be given?
...
(unused) Optional parameters