fts.plot.covariance: Contour plot for the kernels of cross-covariance operators.

View source: R/fts.plot.covariance.R

fts.plot.covarianceR Documentation

Contour plot for the kernels of cross-covariance operators.

Description

Contour plot for the kernels of cross-covariance operators.

Usage

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)

kidzik/freqdom.fda documentation built on April 19, 2022, 2:40 a.m.