This is survey::postStratify() but with one line commented out in order to ensure that the match() to create the index lines up properly with data
postStratifyPartial(design, strata, population, partial = FALSE, ...)
design | A survey design |
---|---|
strata | A formula or data frame of post-stratifying variables, which must not contain missing values. |
population | A table, xtabs or data.frame with population frequencies |
partial | if TRUE, ignore population strata not present in the sample |
... | arguments for future expansion |
design
NA#> [1] NA