Estimate Transmission Assortativity Coefficients
Check 'alpha' value
Check 'delta' value
Check 'f' levels
Check 'from' and 'to' vectors
Check 'gamma' value
Check 'x' and 'n' values
Convert delta to gamma
Convert gamma to delta
Calculate delta
Calculate gamma
Calculate Pi Values
Plot linktree objects
Estimates group transmission assortativity coefficients from transmission trees. Group transmission assortativity coefficients measure the tendency for individuals to transmit within their own group (e.g. age group, vaccination status, or location) compared to other groups. The package requires information on who infected whom, group membership for all individuals, and the relative sizes of each group in the population. For more details see Geismar et al. (2024) <doi:10.1371/journal.pone.0313037>.
Useful links