MatTransMix (version 0.1.16)

print.object: Functions for Printing or Summarizing Objects

Description

EM classes for printing and summarizing objects.

Usage

# S3 method for EM
print(x, ...)
# S3 method for EM
summary(object, ...)

Arguments

x

an object with the 'EM' class attributes.

object

an object with the 'EM' class attributes.

...

other possible options.

Details

Some useful functions for printing and summarizing results.

See Also

MatTrans.EM.

Examples

Run this code
set.seed(123)
data(IMDb)
Y <- IMDb$Y/100
p <- dim(Y)[1]
T <- dim(Y)[2]
n <- dim(Y)[3]
K <- 3
init <- MatTrans.init(Y, K = K, n.start = 2)
M <- MatTrans.EM(Y, initial = init, model = "X-VVV-VV", 
long.iter = 1000, silent = FALSE)
print.EM(M)

Run the code above in your browser using DataLab