View source: R/MixtureFitting.R
abs_convergence | R Documentation |
Compare two values to tell whether an optimization process has converged.
abs_convergence( p_now, p_prev, epsilon = 1e-6 )
p_now |
function value of i-th iteration. |
p_prev |
function value of i-1-th iteration. |
epsilon |
convergence criterion |
TRUE if deemed to have converged, FALSE otherwise
Andrius Merkys
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.