ffpcplot: Plot PC-based function-on-function regression terms

View source: R/pffr-ffpc.R

ffpcplotR Documentation

Plot PC-based function-on-function regression terms

Description

Convenience function for graphical summaries of ffpc-terms from a pffr fit.

Usage

ffpcplot(
  object,
  type = c("fpc+surf", "surf", "fpc"),
  pages = 1,
  se.mult = 2,
  ticktype = "detailed",
  theta = 30,
  phi = 30,
  plot = TRUE,
  auto.layout = TRUE
)

Arguments

object

a fitted pffr-model

type

one of "fpc+surf", "surf" or "fpc": "surf" shows a perspective plot of the coefficient surface implied by the estimated effect functions of the FPC scores, "fpc" shows three plots: 1) a scree-type plot of the estimated eigenvalues of the functional covariate, 2) the estimated eigenfunctions, and 3) the estimated coefficient functions associated with the FPC scores. Defaults to showing both.

pages

the number of pages over which to spread the output. Defaults to 1. (Irrelevant if auto.layout=FALSE.)

se.mult

display estimated coefficient functions associated with the FPC scores with plus/minus this number time the estimated standard error. Defaults to 2.

ticktype

see persp.

theta

see persp.

phi

see persp.

plot

produce plots or only return plotting data? Defaults to TRUE.

auto.layout

should the the function set a suitable layout automatically? Defaults to TRUE

Value

primarily produces plots, invisibly returns a list containing the data used for the plots.

Author(s)

Fabian Scheipl

Examples

## Not run: 
 #see ?ffpc

## End(Not run)

refund documentation built on Sept. 21, 2024, 1:07 a.m.

Related to ffpcplot in refund...