I have a problem with svyby function, because in the result I want to print all values, but svyby automatically delete all NAs.
result <- svyby(formula = pop, by=~col1+col2, FUN=svytotal, design = mydesign, na.rm.all = TRUE)
How to print all the values even with 0?
UPDATE:
I found a solution by adding parameter drop.empty.groups = FALSE