Learn R Programming

oldr (version 0.2.3)

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

Value

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

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.

Examples

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

Run the code above in your browser using DataLab