hv_hiv_pos {surveyPrev}R 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)

[Package surveyPrev version 1.0.0 Index]