Description Usage Arguments Details Author(s) See Also Examples

View source: R/model_reporting.R

Plot convergence of the log-likelihood to a maximum during execution of the EM algorithm for fitting mixture models. Optionally also show the Q-value, that is, the expected complete data log-likelihood.

1 | ```
convergencePlot(x, show.qval=FALSE, main="")
``` |

`x` |
an object of class |

`show.qval` |
logical; if |

`main` |
plot title. |

Log-likelihood is plotted vs. iteration in black. If `show.qval`

is `TRUE`

, Q-value is plotted in red.

Daniel Dvorkin

`mixmod`

, `mdmixmod`

, `rocinfo`

; `plot`

in package `graphics`

.

1 2 3 4 5 6 | ```
## Not run:
data(CiData)
fit <- mixmod(CiData$expression, 3)
convergencePlot(fit, TRUE, main="log-likelihood and Q-value")
## End(Not run)
``` |

lcmix documentation built on May 21, 2017, 4:05 a.m.

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.