Used by vimpute() when edit_rules is supplied. Each record's eligible
numeric imputations are jointly projected onto the supported linear edits.
This control never changes restricted-regression coefficient constraints.
vimpute_edit_control(
weights = "scaled",
tolerance = 1e-06,
on_infeasible = "error",
save_optimization_problem = FALSE
)"equal", "scaled", or a named positive finite numeric
vector covering all eligible numeric variables referenced by the rules.
Scaled weights are inverse squared observed scales: MAD, then IQR/1.349,
then SD, then one. Nearly constant scales use one; scales are bounded to
avoid floating-point overflow. These scales are units, not predictive
uncertainty estimates. Observations selected by makeNA are excluded.
Positive finite absolute tolerance for constraint residuals. Strict inequalities use an interior margin of twice this tolerance.
Currently only "error" is supported.
Retain record/sweep solver inputs, outputs, and pre-projection predictions, including already-feasible predictions.
A vimpute_edit_control object. A plain named list is also accepted
by vimpute() and merged with these defaults.