estimate_op_all: Estimate all standard RAM-OP indicators

View source: R/08-estimate_op.R

estimate_op_allR Documentation

Estimate all standard RAM-OP indicators

Description

Estimate all standard RAM-OP indicators

Usage

estimate_op_all(
  x,
  w,
  indicators = c("demo", "anthro", "food", "hunger", "adl", "disability", "mental",
    "dementia", "health", "oedema", "screening", "income", "wash", "visual", "misc"),
  replicates = 399
)

Arguments

x

Indicators dataset produced by create_op_all with primary sampling unit (PSU) in column named PSU

w

A data frame with primary sampling unit (PSU) in column named psu and survey weight (i.e. PSU population) in column named pop

indicators

A character vector of indicator set names to estimate. Indicator set names are demo, anthro, food, hunger, disability, adl, mental, dementia, health, income, wash, visual, and misc. Default is all indicator sets.

replicates

Number of bootstrap replicates. Default is 399.

Value

Tibble of boot estimates for all specified standard RAM-OP indicators

Examples

estimate_op_all(x = create_op_all(testSVY),
                w = testPSU,
                replicates = 9)


rapidsurveys/oldr documentation built on April 15, 2024, 11:18 a.m.