R/vis-A-infects-B.R
compute_A_infects_B.Rd
Compute probability from samples that person A infects person B
compute_A_infects_B(df)
df | data frame with the following columns
|
---|
a n x n matrix where n is the number of individuals in the cluster. The rows correspond to the INFECTOR id and the columns to the INFECTED id. So entry i,j is the probability i infects j