fts.plot.covariance function

Contour plot for the kernels of cross-covariance operators.

Contour plot for the kernels of cross-covariance operators.

fts.plot.covariance(X, Y = X, cor = FALSE, res = 200, lags = 0:3, nlevels = 25)

Arguments

  • X: an object of class fd representing a functional data sample.
  • Y: an object of classfd representing a functional data sample.
  • cor: if FALSE covariance kernels are plotted, if TRUE correlation kernel will be plotted.
  • res: number of discretization points to evaluate functional data.
  • lags: lags to plot, dafauts 0:3
  • nlevels: number of color levels for the contour plot.

Examples

fts = fts.rar(100) # Plot covariance operators of the time series curves # We chose resolution equal 150 for better precision fts.plot.covariance(fts, lags=0:2, res = 150) # Plot correlation operators of the time series curves fts.plot.covariance(fts, lags=0:2, cor = TRUE, res = 50) # Make the grid of levels more dense fts.plot.covariance(fts, lags=0:1, nlevels = 100)
  • Maintainer: Kidzinski L.
  • License: GPL-3
  • Last published: 2022-04-19

Useful links