ha.inputs.keypop.size: Get input key population sizes

View source: R/extract-ha.R

ha.inputs.keypop.sizeR Documentation

Get input key population sizes

Description

Extract input key population sizes. These are expressed as percentages of the age-specific population (15-24 or 25+) by sex who are key population members. For example, if the 15-24 MSM population size is 1.1, then 1.1 males are assumed to be MSM.

Usage

ha.inputs.keypop.size(
  ha.raw,
  direction = "wide",
  first.year = NULL,
  final.year = NULL
)

Arguments

ha.raw

Goals ASM module data in raw format, as returned by read.raw.ha()

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 ha.inputs.first.year()

final.year

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

Value

A data frame.


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