Description Usage Arguments Value
View source: R/sir_xx_gibbs_blocked_kernel.R
update the agent states for the SIR model given observations such that the complete likelihood is not zero.
1 2 3 4 5 6 7 | sir_xx_gibbs_blocked_kernel(
xx,
block_members,
y,
model_config,
all_xx_block = NULL
)
|
xx |
a matrix of size model_config$N by length(y), can be initialized from sis_init_hidden_popobservation.R |
block_members |
a list of agent ids, length should not exceed 5 |
model_config |
a list that must contain |
all_xx_block |
default is NULL. This matrix represents the set 1,2,3^B.
|
time_step |
0 <=t <= T |
xx
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.