Description Usage Arguments Examples
The assign_weights()
calculate the likelihoods assuming case incidences are Poisson-distributed random numbers
1 2 3 4 5 6 | assign_weights(
var,
t,
data,
data_type = c("infection", "symptom onset", "confirmation")
)
|
var |
A vector of state variables from simulation |
t |
current time |
data |
data on the times of the infection transmisison process (e.g., infection, symptom onset, or confirmation) |
data_type |
c("infection", "symptom onset", "confirmation") |
1 | pop <- setup_population(disease, country); calculate_cases(disease, country, pop)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.