make_race_combo: for a race 'n' the combo for race1 == race2 ==n the combo is...

View source: R/EpiStats.R

make_race_comboR Documentation

for a race n the combo for ⁠race1 == race2 ==n⁠ the combo is is ⁠2n - 1⁠ for race1 == n && race2 != n the combo is ⁠2n⁠

Description

for a race n the combo for ⁠race1 == race2 ==n⁠ the combo is is ⁠2n - 1⁠ for race1 == n && race2 != n the combo is ⁠2n⁠

Usage

make_race_combo(race1, race2)

Arguments

race1

a vector of race index for the index

race2

a vector of race index for the partners

Value

a vector of the same size with the race combos


EpiModel/ARTnet documentation built on June 12, 2025, 4:23 p.m.