View source: R/fts.plot.operators.R
fts.plot.operators | R Documentation |
Contour plot of operator kernels.
fts.plot.operators(A, res = 200, lags = 0, freq = 0, axis = "Re", nlevels = 25)
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 [-π,π]. For an object of class
|
axis |
if |
nlevels |
number of color levels for the contour plot. |
# 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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.