create_prop_internal: internal function to calculate proportion estimations

Description Usage Arguments Value

View source: R/creacion_insumos.R

Description

internal function to calculate proportion estimations

Usage

1
2
3
4
5
6
7
8
9
create_prop_internal(
  var,
  dominios = NULL,
  subpop = NULL,
  disenio,
  ci = F,
  ajuste_ene = F,
  standard_eval = T
)

Arguments

var

integer dummy variable within the dataframe

dominios

domains to be estimated separated by the + character.

subpop

integer dummy variable to filter the dataframe

disenio

complex design created by survey package

ci

boolean indicating if the confidence intervals must be calculated

ajuste_ene

boolean indicating if an adjustment for the sampling-frame transition period must be used

standard_eval

boolean indicating if the function is inside another function, by default it is TRUE, avoid problems with lazy eval.

Value

dataframe that contains the inputs and all domains to be evaluated


Klauslehmann/calidad documentation built on May 1, 2021, 6:35 a.m.