stratify.males.by.orientation: Takes a population and splits males into heterosexual males...

View source: R/setup.R

stratify.males.by.orientationR Documentation

Takes a population and splits males into heterosexual males and MSM

Description

Returns an array with same dimensions and dimnames as population.to.stratify, except that the males have been split into heterosexual males and MSM

Usage

stratify.males.by.orientation(
  population.to.stratify,
  msm.multiplier = 1,
  heterosexual.multiplier = 1,
  male.name = "male",
  heterosexual.male.name = "heterosexual_male",
  msm.name = "msm"
)

Arguments

population.to.stratify

A population where dimnames for one dimension includes male.name

msm.multiplier, heterosexual.multiplier

The numbers by which to multiply the males in population.to.stratify to yield the corresponding populations in the stratified population

male.name

The name given to males in a dimension of population.to.stratify

heterosexual.male.name, msm.name

The names to be given to heterosexual males and MSM in the return value

See Also

expand.population.to.hiv.negative


tfojo1/jheem documentation built on Oct. 7, 2022, 1:24 p.m.