estimate_op: Estimate all standard RAM-OP indicators

View source: R/06-estimate_op.R

estimate_opR Documentation

Estimate all standard RAM-OP indicators

Description

Estimate all standard RAM-OP indicators

Usage

estimate_op(
  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() 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

A tibble::tibble() of boot estimates for all specified standard RAM-OP indicators.

Examples

estimate_op(x = create_op(testSVY), w = testPSU, replicates = 9)


validmeasures/oldr documentation built on Feb. 12, 2025, 7:12 a.m.