merge_op | R Documentation |
Concatenate classic and PROBIT estimates into a single data.frame
merge_op(x, y, prop2percent = FALSE)
x |
Classic estimates |
y |
Probit estimates |
prop2percent |
Logical. Should proportion type indicators be converted to percentage? Default is FALSE. |
A tibble::tibble()
of combined classic and probit estimates.
Ernest Guevarra
indicators <- c(
"demo", "anthro", "food", "hunger", "adl", "disability",
"mental", "dementia", "health", "oedema", "screening", "income",
"wash", "visual", "misc"
)
classicIndicators <- indicators[indicators != "anthro"]
## Bootstrap classic
classicEstimates <- estimate_classic(
x = indicators.ALL, w = testPSU,
indicators = classicIndicators, replicates = 9
)
probitEstimates <- estimate_probit(
x = indicators.ALL, w = testPSU, replicates = 9
)
merge_op(x = classicEstimates, y = probitEstimates)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.