plot.fem {FisherEM} | R Documentation |
The plot function for 'fem' objects.
Description
This function plots different information about 'fem' objects such as model selection, log-likelihood evolution and visualization of the clustered data into the discriminative subspace fitted by the Fisher-EM algorithm.
Usage
## S3 method for class 'fem'
plot(x, frame=0, crit=c(),...)
Arguments
x |
The fem object. |
frame |
0: all plots; 1: selection of the number of groups; 2: log-likelihood; projection of the data into the discriminative subspace. |
crit |
The model selection criterion to display. Default is the criterion used in the 'fem' function ('icl' by default). |
... |
Additional options to pass to the plot function. |
See Also
fem, sfem, fem.ari, summary.fem
Examples
data(iris)
res = fem(iris[,-5],K=3,model='DkBk',method='reg')
res
plot(res)
fem.ari(res,as.numeric(iris[,5]))
[Package FisherEM version 1.6 Index]