Learn R Programming

robust (version 0.3-0)

covfmScreePlot: Screeplot

Description

Draws overlaid screeplots for the models in a covfm object.

Usage

covfmScreePlot(x, variables, ...)

Arguments

x
an object of class "covfm" containing 2 elements.
variables
a vector of positive integers specifying which eigenvalues are to be drawn. By default the 10 largest eigenvalues are plotted.
...
additional arguments are passed to the low-level plotting functions.

Value

  • x is invisibly returned.

Details

This function is called by the generic function plot.covfm. To use this function on a "cov" or "covRob" object first use fit.models to coerce the object to class "covfm".

See Also

plot.covfm, fit.models, covRob, cov.

Examples

Run this code
data(woodmod.dat)
  woodmod.fm <- fit.models(list(Robust = "covRob", Classical = "cov"), data = woodmod.dat)
  covfmScreePlot(woodmod.fm)

Run the code above in your browser using DataLab