print.summary: Functions for Printing or Summarizing Objects

print.objectR Documentation

Functions for Printing or Summarizing Objects

Description

EM classes for printing and summarizing objects.

Usage

## S3 method for class 'EM'
print(x, ...)
## S3 method for class '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

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)

MatTransMix documentation built on April 30, 2023, 5:13 p.m.