Learn R Programming

refund (version 0.1-12)

ffpcplot: 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 cova
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.

Examples

Run this code
#see ?ffpc

Run the code above in your browser using DataLab