get_survey_table {calidad}R Documentation

Calculates multiple estimations. Internal wrapper for survey package

Description

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

Value

dataframe containing main results from survey


[Package calidad version 0.5.0 Index]