expand.to.contact.array: Shoehorn a given array into a transmission contact array

View source: R/expand_population.R

expand.to.contact.arrayR Documentation

Shoehorn a given array into a transmission contact array

Description

Returns an array with dimensions and dimnames for a transmission contact array

Usage

expand.to.contact.array(jheem, to.expand)

Arguments

jheem

An object of jheem-class

to.expand

An array representing the contact array to expand. dimnames(population.to.expand) must be a subset of the dimnames for a transmission contact array: [age.from, race.from, subpopulation.from, sex.from, risk.from, age.to, race.to, subpopulation.to, sex.to, risk.to, non.hiv.subset.to]


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