internal function to calculate proportion estimations
create_prop_internal(
var,
domains = NULL,
subpop = NULL,
disenio,
ci = FALSE,
deff = FALSE,
ess = FALSE,
ajuste_ene = FALSE,
rel_error = FALSE,
log_cv = FALSE,
unweighted = FALSE,
standard_eval = TRUE,
rm.na = FALSE,
env = parent.frame(),
ci_logit = FALSE
)dataframe that contains the inputs and all domains to be evaluated
integer dummy variable within the dataframe
domains to be estimated separated by the + character.
integer dummy variable to filter the dataframe
complex design created by survey package
boolean indicating if the confidence intervals must be calculated
boolean Design effect
boolean Effective sample size
boolean indicating if an adjustment for the sampling-frame transition period must be used
boolean Relative error
boolean indicating if the log cv must be returned
boolean Add non weighted count if it is required
boolean indicating if the function is inside another function, by default it is TRUE, avoid problems with lazy eval.
boolean indicating if NA values must be removed
parent environment to get some variables
boolean indicating if interval confidence is logit