Skip to contents

Constructs a function-function (Fn-Fn) plot. That is, a plot of the average functional residual against the CDF of a U(0, 1) random variable.

Usage

ffplot(
  object,
  resolution = 101,
  n = NULL,
  ref.col = 2,
  ref.lwd = 1,
  ref.lty = "dashed",
  ...
)

# S3 method for class 'funres'
ffplot(
  object,
  resolution = 101,
  n = NULL,
  ref.col = 2,
  ref.lwd = 1,
  ref.lty = "dashed",
  ...
)

# Default S3 method
ffplot(
  object,
  resolution = 101,
  n = NULL,
  ref.col = 1,
  ref.lwd = 1,
  ref.lty = "dashed",
  ...
)

Arguments

object

Fitted model object.

resolution

Integer specifying the number of points between 0 and 1 to use. Default is 101.

n

Integer specifying the number of functional residuals to draw at random, which can help with compute time. Default is NULL which corresponds to no subsampling.

ref.col

Character string or integer specifying the color to use for the 45-degree reference line. Default is 1.

ref.lwd

Integer specifying the line width to use for the 45-degree reference line. Default is 1.

ref.lty

Character string or integer specifying the line type to use for the 45-degree reference line. Default is "dashed".

...

Additional optional arguments pass to plot().