plot_ff_coeffs function

Image plot of bivariate regression coefficient functions of a function-on-function regression model

Image plot of bivariate regression coefficient functions of a function-on-function regression model

This function is used to obtain image plots of bivariate regression coefficient functions of a function-on-function regression model based on output object obtained from get.ff.coeffs.

plot_ff_coeffs(object, b)

Arguments

  • object: The output object of get.ff.coeffs.
  • b: An integer value indicating which regression parameter function to be plotted.

Returns

No return value, called for side effects.

References

D. Nychka and R. Furrer and J. Paige and S. Sain (2021) fields: Tools for spatial data. R package version 14.1, URL: https://github.com/dnychka/fieldsRPackage.

Author(s)

Ufuk Beyaztas and Han Lin Shang

Examples

sim.data <- generate.ff.data(n.pred = 5, n.curve = 200, n.gp = 101) Y <- sim.data$Y X <- sim.data$X gpY = seq(0, 1, length.out = 101) # grid points of Y gpX <- rep(list(seq(0, 1, length.out = 101)), 5) # grid points of Xs model.fit <- rob.ff.reg(Y, X, model = "full", emodel = "classical", gpY = gpY, gpX = gpX) coefs <- get.ff.coeffs(model.fit) plot_ff_coeffs(object = coefs, b = 1)
  • Maintainer: Ufuk Beyaztas
  • License: GPL-3
  • Last published: 2024-01-23

Useful links