dp.inputs.hiv.breastfeeding: Get breastfeeding patterns in mothers with HIV

View source: R/extract-dp.R

dp.inputs.hiv.breastfeedingR Documentation

Get breastfeeding patterns in mothers with HIV

Description

Breastfeeding practices in mothers with HIV are specified in Spectrum as the percentage of mothers who are not breastfeeding by year, child's age, and whether the mother is receiving ARVs to prevent vertical HIV transmission. Child's age is specified by two month intervals up to 36 months.

Usage

dp.inputs.hiv.breastfeeding(
  dp.raw,
  direction = "wide",
  first.year = NULL,
  final.year = NULL
)

Arguments

dp.raw

DemProj module data in raw format, as returned by read.raw.dp()

direction

Request "wide" (default) or "long" format data.

first.year

First year of the projection. If first.year=NULL, it will be filled in using dp.inputs.first.year()

final.year

Final year of the projection. If final.year=NULL, it will be filled in using dp.inputs.final.year()

Value

A data frame.


rlglaubius/SpectrumUtils documentation built on Dec. 20, 2024, 7:31 a.m.