print.object | R Documentation |
EM
classes for printing and summarizing objects.
## S3 method for class 'EM'
print(x, ...)
## S3 method for class 'EM'
summary(object, ...)
x |
an object with the 'EM' class attributes. |
object |
an object with the 'EM' class attributes. |
... |
other possible options. |
Some useful functions for printing and summarizing results.
MatTrans.EM
.
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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.