harvard-ufds / saeczi

Small Area Estimation for Continuous Zero Inflated data
https://harvard-ufds.github.io/saeczi/
Other
4 stars 2 forks source link

fixes issue in removing preds that only occur in the logistic formula #30

Closed graysonwhite closed 4 months ago

graysonwhite commented 4 months ago

Small typo causing issues when select()ing columns to keep in the input datasets.

Before we had unique(a, b), which I have updated to unique(c(a, b)). If a <- c("Millie", "Tucker") and b <- c("Millie", "Tucker", "Dude"), unique(a, b) leaves Dude out, while unique(c(a, b)) keeps all three.