dp.inputs.csavr.diagnoses.sex.age: Get input numbers of new HIV diagnoses by sex and age

View source: R/extract-dp.R

dp.inputs.csavr.diagnoses.sex.ageR Documentation

Get input numbers of new HIV diagnoses by sex and age

Description

Get input numbers of new HIV diagnoses by sex and age

Usage

dp.inputs.csavr.diagnoses.sex.age(
  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 of numbers of new diagnoses by age and sex


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