plotConvergence {mnem} | R Documentation |
Generic function plotting convergence diagnostics for different methods.
plotConvergence(x, ...)
x |
object with convergence statistics |
... |
additional parameters for the specific object type |
plot of EM convergence
Martin Pirkl
sim <- simData(Sgenes = 3, Egenes = 2, Nems = 2, mw = c(0.4,0.6)) data <- (sim$data - 0.5)/0.5 data <- data + rnorm(length(data), 0, 1) result <- mnem(data, k = 2, starts = 1) par(mfrow=c(2,2)) plotConvergence(result)