tclust (version 2.0-3)

summary.DiscrFact: The summary method for objects of class DiscrFact

Description

The summary method for class DiscrFact.

Usage

# S3 method for DiscrFact
summary(object, hide.emtpy = TRUE, show.clust, show.alt, ...)

Arguments

object

An object of class DiscrFact as returned from DiscrFact().

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.

References

García-Escudero, L.A.; Gordaliza, A.; Matrán, C. and Mayo-Iscar, A. (2011), "Exploring the number of groups in robust model-based clustering." Statistics and Computing, 21 pp. 585-599, <doi:10.1007/s11222-010-9194-z>

Examples

Run this code
 sig <- diag (2)
 cen <- rep (1, 2)
 x <- rbind(MASS::mvrnorm(360, cen * 0,   sig),
 	       MASS::mvrnorm(540, cen * 5,   sig * 6 - 2),
 	       MASS::mvrnorm(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)

 dsc.1 <- DiscrFact(clus.1)
 summary(dsc.1)

 dsc.2 <- DiscrFact(clus.2)
 summary(dsc.2)

Run the code above in your browser using DataLab