Calculates multiple estimations. Internal wrapper for survey package
get_survey_table.Rd
Generates 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
string
objective variable- domains
domains
- complex_design
design from
survey
- estimation
string
indicating 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