plot.fem: The plot function for 'fem' objects.

Description Usage Arguments See Also Examples

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

1
2
 ## 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

1
2
3
4
5
data(iris)
res = fem(iris[,-5],K=2:5,model='AkB')
summary(res)
plot(res)
fem.ari(res,as.numeric(iris[,5]))


Search within the FisherEM package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

Please suggest features or report bugs with the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.