Learn R Programming

MixGHD (version 2.3.7)

plot: Plot objects of class MixGHD.

Description

Plots the loglikelyhood function and for p<10 shows the splom of the data.

Usage

# S4 method for MixGHD
plot(x,y)

Arguments

x

A object of MixGHD-class

y

Not used; for compatibility with generic plot.

Methods

signature(x = "MixGHD", y = "missing")

S4 method for plotting objects of MixGHD-class.

Details

Plot the loglikhelyhood vale for each iteration of the EM algorithm. If p=2 it shows a contour plot. If 2<p<10 shows a splom of the data colored according to the cluster membership.

See Also

MixGHD-class,MGHD,MCGHD,MSGHD,cMSGHD,MGHFA

Examples

Run this code
# NOT RUN {
##loading banknote data
data(bankruptcy)


##model estimation
model=MCGHD(bankruptcy[,2:3],G=2,max.iter=30)

#result

plot(model)
# }

Run the code above in your browser using DataLab