Calculates convergence based on NMSE. Details on the convergence criterion calculation are provided in the package vignettes.
calculate_convergence(err, weights)
A list with elements
converged
boolean indicating if the algorithm has converged (TRUE) or not (FALSE)
measure_old
the total error of the previous iteration
measure_new
the total error of the last iteration
dataframe containing OOB or apparent errors for each iteration.
vector of weights in the same format as for the missForest
function.