Closed glenrs closed 6 years ago
Merging #1272 into master will increase coverage by
<.1%
. The diff coverage is100%
.
@@ Coverage Diff @@
## master #1272 +/- ##
========================================
+ Coverage 95.3% 95.3% +<.1%
========================================
Files 40 41 +1
Lines 3183 3224 +41
========================================
+ Hits 3034 3075 +41
Misses 149 149
@mmastand Last observation carried forward imputation is implemented!
A couple things to focus on when reviewing: 1- If the first variable value is NA, I am using the first value. I have tested this to make sure that it isn't doing anything weird. 2- For some reason
recipes
converts all factor variables innewdata
inbake.step
to character type. I have tried to test as many things as I can. I do not think this is an issue. I think that everything still works that we want. 3- Documentation. I reread the documentation several times. Please let me know if something is not clear. Thank you!Below I have provided three examples (hopefully these help when reviewing): 1 - pima diabetes imputation with
recipes
2 - pima diabetes imputation withprep_data
3 -nycflights13::flights
imputation withprep_data
It appears that all missingness is removed.
I have tested other functions to see if they work. I haven't been able to crash it. Everything appears to be functioning properly
Created on 2018-10-09 by the reprex package (v0.2.0).