EmilHvitfeldt / extrasteps

More Steps for the 'recipes' Package
https://emilhvitfeldt.github.io/extrasteps/
Other
6 stars 1 forks source link

step_impute_custom() #66

Open EmilHvitfeldt opened 11 months ago

EmilHvitfeldt commented 11 months ago

a general function that in theory could replace step_impute_mean(), step_impute_median(), step_impute_mode(). This step would require a function that takes a vector and returns a value. This value is used as the imputed values