Learn R Programming

surveyPrev (version 1.0.0)

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

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

Arguments

Rdata

data.frame from survryPrev::getDHSdata

Author

Qianyu Dong

Examples

Run this code
if (FALSE) {
dhsData <- getDHSdata(country = "Zambia",
                                 indicator = "HA_HIVP_W_HIV",
                                 year = 2018)
data <- getDHSindicator(dhsData, indicator = NULL,
                         FUN = surveyPrev::hv_hiv_pos)
}

Run the code above in your browser using DataLab