Skip to contents

Calculate group contact matrix with proportional mixing and preferential mixing within group

Usage

contactMatrixPropPref(popsize, contactrate, ingroup)

Arguments

popsize

population size of each group

contactrate

overall contact rate of each group

ingroup

fraction of each group's contacts that are exclusively in-group