Description Usage Arguments Value See Also Examples
View source: R/measure_degenerate.R
A degenerate 'measure' of convergence, which simply returns whether to continue if the limit of the number of iterations has been reached, or not.
1 | measure_degenerate(X, Y, X_init, indicator, env = parent.frame())
|
X |
named list; imputed values, in order of appearance by row in original data, of each variable (named) from one iteration within missForest procedure. |
Y |
named list;
imputed values, in order of appearance by row in origina data,
of each variable (named) from the iteration within the missForest
procedure succeeding that used to determine |
X_init |
data.frame; a data set including any of numeric, logical, integer, factor and ordered data types, to be used as the initial state of the missForest procedure. |
indicator |
named list;
an indicator of the missing ( |
env |
environment;
environment of the calling function
|
named numeric; zero when the limit on number of iterations has been reached, otherwise the current iteration.
1 2 3 4 5 | ## Not run:
# simply pass to smirf
smirf(iris, stop.measure=measure_degenerate)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.