fts.plot.operators {freqdom.fda} | R Documentation |
Contour plot of operator kernels.
Description
Contour plot of operator kernels.
Usage
fts.plot.operators(A, res = 200, lags = 0, freq = 0, axis = "Re", nlevels = 25)
Arguments
A |
an object of class |
res |
number of discretization points to evaluate functional data. |
lags |
a vector of integers. For objects of class |
freq |
a vector of frequencies in |
axis |
if |
nlevels |
number of color levels for the contour plot. |
Examples
# Load example PM10 data from Graz, Austria
data(pm10) # loads functional time series pm10 to the environment
X = center.fd(pm10)
# Compute functional dynamic principal components with only one component
res.dpca = fts.dpca(X, Ndpc = 1, freq=(-25:25/25)*pi) # leave default freq for higher precision
# Plot the spectral density operator at frequencies -2, -3:3/30 * pi and 2
fts.plot.operators(res.dpca$spec.density,freq = c(-2,-3:3/30 * pi,2))
[Package freqdom.fda version 1.0.1 Index]