robust (version 0.4-18.2)

screePlot.covfm: 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

Run this code
# NOT RUN {
  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)
# }

Run the code above in your browser using DataCamp Workspace