simputation
simputation copied to clipboard
add a where argument
impute_lm(y~x|z, where x > 0)
would first select records where x>0
, fit the model, impute, and return the whole dataset.
impute_lm(y~x|z, where x > 0)
would first select records where x>0
, fit the model, impute, and return the whole dataset.