
Assemble Imputed Columns From Their Best-`mtry` Runs
Source:R/missforest_mtry.R
missforest_impute_by_mtry.RdGiven a sweep produced by [missforest_sweep_mtry()] and a table naming the winning `mtry` for each column, pulls each column out of the run that won it. Different columns may come from different runs.
Arguments
- sweep
A named list of [missforest_oob_by_mtry()] results, named by `mtry` as a character string (as [missforest_sweep_mtry()] builds it).
- best
A data frame with one row per column, containing at least the columns `column` and `mtry` – typically the `best` element returned by [missforest_sweep_mtry()].