Calculates multiple estimations. Internal wrapper for survey package
get_survey_table.RdGenerates a table with estimates for a given aggregation
Usage
get_survey_table(
var,
domains,
complex_design,
estimation = "mean",
env = parent.frame(),
fun,
denom = NULL,
type_est = "all"
)Arguments
- var
stringobjective variable- domains
domains- complex_design
design from
survey- estimation
stringindicating if the mean must be calculated- env
parent environment
- fun
function required regarding the estimation
- denom
denominator. This parameter works for the ratio estimation
- type_est
type of estimation: all or size