Learn R Programming

tclust (version 1.0-2)

summary.bayesfact: Summary Method for class bayesfact

Description

The summary method for class bayesfact.

Usage

summary.bayesfact (object, hide.emtpy = TRUE, show.clust, show.alt, ...)

Arguments

object
An object of class "bayesfact" as from bayesfact ().
hide.emtpy
A logical value specifying whether clusters without doubtful assignment shall be hidden.
show.clust
A logical value specifying whether the number of doubtful assignments per cluster shall be displayed.
show.alt
A logical value specifying whether the alternative cluster assignment shall be displayed.
...
Arguments passed to or from other methods.

Value

  • No return value is provided.

encoding

latin1

References

Garc�a-Escudero, L.A.; Gordaliza, A.; Matr�n, C. and Mayo-Iscar, A. (2009), "Exploring the number of groups in robust model-based clustering". Preprint available at www.eio.uva.es/infor/personas/langel.html.

See Also

plot.bayesfact

Examples

Run this code
sig <- diag (2)
cen <- rep (1,2)
x <- rbind (
	rmvnorm (360, cen * 0,   sig),
	rmvnorm (540, cen * 5,   sig * 6 - 2),
	rmvnorm (100, cen * 2.5, sig * 50)
)
clus.1 <- tclust (x, k=2, alpha=0.1, restr.fact = 12)
clus.2 <- tclust (x, k=3, alpha=0.1, restr.fact = 1)  # "Improper" choice of parameters

bay.1 <- bayesfact(clus.1)
summary(bay.1)

bay.2 <- bayesfact(clus.2)
summary(bay.2)

Run the code above in your browser using DataLab