IQSS / Amelia

Amelia: A Package for Missing Data
http://gking.harvard.edu/amelia
61 stars 17 forks source link

Fix bugs with dplyr data frames as input #7

Closed jrnold closed 7 years ago

jrnold commented 7 years ago

This is hack to ensure that [ will work even if the input data is a tbl_df. Right now much of the code assumes that drop = TRUE is the default for [, while tbl_df do not drop dimensions when subsetting. This was brought up in #6, but this PR fixes it.

mattblackwell commented 7 years ago

Thanks! It'll be in the develop branch for a bit while we test. Once it's ready to go to CRAN, it'll be merged into master.