covfmEllipsesPlot {robust} | R Documentation |
When there are 2 variables in the data this function produces a scatter plot of the data with an overlaid ellipse for each model in the covfm object. When there are more than 2 variables this function draws a matrix with ellipses in the upper triangle. The ellipse in the i,j cell of the matrix is drawn to be a contour of a standard bivariate normal with correlation equal to the i, j element of the correlation matrix. There is one ellipse in each cell for each model in the covfm object.
covfmEllipsesPlot(x, ...)
x |
an object of class "covfm" containing 2 elements. |
... |
additional arguments are passed to the low-level plotting functions. |
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".
x is invisibly returned.
plot.covfm
,
fit.models
,
covRob
,
cov
.
data(woodmod.dat) woodmod.fm <- fit.models(list(Robust = "covRob", Classical = "cov"), data = woodmod.dat) covfmEllipsesPlot(woodmod.fm)