fts.plot.operators function

Contour plot of operator kernels.

Contour plot of operator kernels.

fts.plot.operators(A, res = 200, lags = 0, freq = 0, axis = "Re", nlevels = 25)

Arguments

  • A: an object of class fts.timedom or fts.freqdom.

  • res: number of discretization points to evaluate functional data.

  • lags: a vector of integers. For objects of class fts.timedom

    the lags of the operators we want to plot.

  • freq: a vector of frequencies in [π,π][-\pi,\pi]. For an object of class fts.freqdom the frequencies at which we want to plot the operator. If the chosen frequencies are not contained in A$freq, the closest frequencies will be used.

  • axis: if "Re" we plot the real part, if "Im" we plot the imaginary part of a complex-valued operator.

  • 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))
  • Maintainer: Kidzinski L.
  • License: GPL-3
  • Last published: 2022-04-19

Useful links