assign_weights: Assign weights (i.e., likelihoods) to each of the valuee

Description Usage Arguments Examples

Description

The assign_weights() calculate the likelihoods assuming case incidences are Poisson-distributed random numbers

Usage

1
2
3
4
5
6
assign_weights(
  var,
  t,
  data,
  data_type = c("infection", "symptom onset", "confirmation")
)

Arguments

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")

Examples

1
pop <- setup_population(disease, country); calculate_cases(disease, country, pop)

kimfinale/particlefilter documentation built on March 6, 2021, 9:49 a.m.