Description Usage Arguments Value
View source: R/sir_kernel_twisted_ir.R
Function to sample from xt given it, rt and x(t-1), used in sir_csmc.R.
1 | sir_kernel_twisted_ir(xxprev, it, rt, model_config)
|
xxprev |
agent states at the previous time; |
it |
infection counts at the current time; |
rt |
recovery counts at the current time; |
model_config |
a list containing model parameters, must pass the test of check_model_config; |
a sample of xxprev, vector of length N
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.