Last chance! 50% off unlimited learning
Sale ends in
unmap(classification, noise, ...)
do.call
.classification
and m is
the number of unique values or symbols in
classification
. Columns are labeled by the unique values in
classification
, and the [i,j]
th entry is 1 if
classification[i]
is the jth unique value or symbol in
order of appearance in the classification
. If a noise
value of symbol is designated, the corresponding indicator variables
are located in the last column of the matrix.map
,
estep
,
me
data(iris)
irisMatrix <- as.matrix(iris[,1:4])
irisClass <- iris[,5]
z <- unmap(irisClass)
z
emEst <- me(modelName = "VVV", data = irisMatrix, z = z)
emEst$z
map(emEst$z)
Run the code above in your browser using DataLab