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.
Usage
covfmEllipsesPlot(x, main, xlab, ylab, ...)
Arguments
x
an object of class "covfm" containing 2 elements,
typically the result of fit.models(..).
main
a character string specifying the plot title.
xlab
a character string specifying the x-axis label.
ylab
a character string specifying the y-axis label.
...
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".