screePlot.covfm: Comparison Screeplot

View source: R/screePlot.covfm.q

screePlot.covfmR Documentation

Comparison Screeplot

Description

Draws overlaid screeplots for the models in a covfm object.

Usage

  screePlot.covfm(x, npcs, strip = "", ...)

Arguments

x

a "covfm" object.

npcs

a postive integer value specifying the number of components to be plotted.

strip

a character string printed in the “strip” at the top of the plot.

...

additional arguments are passed to xyplot.

Value

the trellis object is invisibly returned.

Examples

  data(woodmod.dat)
  woodm.fm <- fit.models(list(Robust = "covRob", Classical = "covClassic"),
                         data = woodmod.dat)
  screePlot.covfm(woodm.fm, main = "Plot Title", xlab = "x-axis label",
                  ylab = "y-axis label", pch = 4:5)

robust documentation built on Sept. 11, 2024, 5:16 p.m.