leeper / prediction

Tidy, Type-Safe 'prediction()' Methods
https://cran.r-project.org/package=prediction
Other
89 stars 14 forks source link

Improvements in `prediction.svyglm` #40

Open tzoltak opened 4 years ago

tzoltak commented 4 years ago

It will be better if:

  1. prediction.svyglm can get survey design objects as data argument.
  2. prediction.svyglm didn't fail if data contains NAs (it fails now because all observations with NAs are removed from results returned by survey::predict.svyglm what is a different behavior than this of predict.glm).