hv_hiv_pos: HA_HIVP_W_HIV hv_hiv_pos "HIV positive test result"

View source: R/indicators.R

hv_hiv_posR Documentation

HA_HIVP_W_HIV hv_hiv_pos "HIV positive test result"

Description

HA_HIVP_W_HIV hv_hiv_pos "HIV positive test result"

Usage

hv_hiv_pos(Rdata)

Arguments

Rdata

data.frame from survryPrev::getDHSdata

Value

A partially processed data.frame that will be used in survryPrev::getDHSindicator. The whole function can be used as a parameter in survryPrev::getDHSindicator

Author(s)

Qianyu Dong

Examples

## Not run: 
dhsData <- getDHSdata(country = "Zambia",
                                 indicator = "HA_HIVP_W_HIV",
                                 year = 2018)
data <- getDHSindicator(dhsData, indicator = NULL,
                         FUN = surveyPrev::hv_hiv_pos)

## End(Not run)

surveyPrev documentation built on May 29, 2024, 9:42 a.m.