Description Usage Arguments Value

Convergence test for EM-algorithm.

1 2 | ```
em_converged(loglik, previous_loglik, threshold = 1e-04,
check_increased = TRUE)
``` |

`loglik` |
Current value of the log-likelihood function |

`previous_loglik` |
Value of the log-likelihood function at the previous |

`threshold` |
If difference is less than threshold, then algorithm has converged |

`check_increased` |
TO DOCUMENT |

A logical statement indicating whether EM algorithm has converged according to slope convergence test

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.