abs_convergence {MixtureFitting} | R Documentation |
Absolute Convergence Check.
Description
Compare two values to tell whether an optimization process has converged.
Usage
abs_convergence( p_now, p_prev, epsilon = 1e-6 )
Arguments
p_now |
function value of i-th iteration. |
p_prev |
function value of i-1-th iteration. |
epsilon |
convergence criterion |
Value
TRUE if deemed to have converged, FALSE otherwise
Author(s)
Andrius Merkys
[Package MixtureFitting version 0.6.1 Index]