merge_op {oldr} | R Documentation |
Concatenate classic and PROBIT estimates into a single data.frame
Description
Concatenate classic and PROBIT estimates into a single data.frame
Usage
merge_op(x, y, prop2percent = FALSE)
Arguments
x |
Classic estimates data frame |
y |
Probit estimates data frame |
prop2percent |
Logical. Should proportion type indicators be converted to percentage? Default is FALSE. |
Value
A data.frame()
of combined classic and probit estimates.
Author(s)
Ernest Guevarra
Examples
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)
[Package oldr version 0.2.3 Index]