Skip to content

Commit

Permalink
updated explanation of contact distribution in README
Browse files Browse the repository at this point in the history
  • Loading branch information
joshwlambert committed Jan 4, 2024
1 parent 94cea9c commit 35d6c63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -101,7 +101,7 @@ linelist <- sim_linelist(
head(linelist)
```

To simulate a table of contacts of cases (i.e. to reflect a contact tracing dataset) we can use the same serial interval defined for the example above. We additionally need a contact distribution, which represents the probability that each person in the population will be a given number of contacts on a given day.
To simulate a table of contacts of cases (i.e. to reflect a contact tracing dataset) we can use the same serial interval defined for the example above. We additionally need a contact distribution, which represents the probability that each person that infected an individual, also had a given number of contacts that did not become infected.

```{r, sim-contacts}
contact_distribution <- epiparameter::epidist(
Expand Down

0 comments on commit 35d6c63

Please sign in to comment.