Usage
clspec(lag, fit, cov = TRUE, mm)
dlspec(freq, fit)
plspec(freq, fit, mm)
rlspec(n, fit, mean = 0, cosmodel = FALSE, mm)
Arguments
lag
vector of integer-valued lags for which the autocorrelations or autocorrelations are to be computed.
fit
lspec object, typically the result of lspec.cov
compute autocovariances (TRUE) or autocorrelations (FALSE).
mm
number of points used in integration and the fft. Default is the
smallest power of two larger than max(fit$sample, max(lag),1024) for
clspec and plspec
or the smallest power of two larger than max(fit$sample,
freq
vector of frequencies. For plspec frequencies should be between $-\pi$ and $\pi$.
n
length of the random time series to be generated.
mean
mean level of the time series to be generated.
cosmodel
indicate that the data should be generated from a model with constant
harmonic terms rather than a true Gaussian time series.