EMCluster (version 0.2-15)

Print and Summary: Functions for Printing or Summarizing Objects According to Classes

Description

Several classes are declared in EMCluster, and these are functions to print and summary objects.

Usage

# S3 method for emret
print(x, digits = max(4, getOption("digits") - 3), ...)
# S3 method for emret
summary(object, ...)
# S3 method for svd
summary(object, ...)

Value

The results will cat or print on the STDOUT by default.

Arguments

x

an object with the class attributes.

digits

for printing out numbers.

object

an object with the class attributes.

...

other possible options.

Author

Wei-Chen Chen wccsnow@gmail.com and Ranjan Maitra.

Details

These are useful functions for summarizing and debugging.

References

https://www.stat.iastate.edu/people/ranjan-maitra

See Also

init.EM, emcluster, starts.via.svd.

Examples

Run this code
if (FALSE) {
library(EMCluster, quietly = TRUE)
x2 <- da2$da

emobj <- list(pi = da2$pi, Mu = da2$Mu, LTSigma = da2$LTSigma)
eobj <- e.step(x2, emobj = emobj)
emobj <- m.step(x2, emobj = eobj)
summary(emobj)

ret <- starts.via.svd(x2, nclass = 10, method = "kmeans")
summary(ret)
}

Run the code above in your browser using DataLab