plot.cec: Plot CEC.

Description Usage Arguments Value See Also Examples

View source: R/plot.cec.R

Description

Presents the results of cec function in the form of a plot. Colors of data points depend of the cluster they belong to. Ellipses are drawn with regards to the covariance (either model or sample) of each cluster.

Usage

1
2
3
## S3 method for class 'cec'
plot(x, col, cex = 0.5, pch = 19, cex.centers = 1, pch.centers = 8, 
ellipses.lwd = 4, ellipses = TRUE, model = TRUE, xlab, ylab, ...)

Arguments

x

The result of cec function.

col

Use this argument to change default colors of points in the clusters.

cex

Basically the size of the points, see points.

pch

See points.

cex.centers

The same as cex parameter, except that it's related to the centers' means.

pch.centers

The same as pch parameter, except that it's related to the centers' means.

ellipses.lwd

Width of ellipses, points.

ellipses

If this parameter is TRUE, ellipses will be drawn.

model

If this parameter is TRUE, the model (expected) covariance will be used for each cluster insted of sample covariance (MLE) of the points in the cluster, when drawing ellipses.

xlab

See plot.

ylab

See plot.

...

Arguments are passed to plot function when drawing data points.

Value

No return value.

See Also

print.cec

Examples

1
## See the examples of function cec.

CEC documentation built on Sept. 21, 2021, 5:07 p.m.