sir_kernel_twisted_ir: Twisted SIR kernels

Description Usage Arguments Value

View source: R/sir_kernel_twisted_ir.R

Description

Function to sample from xt given it, rt and x(t-1), used in sir_csmc.R.

Usage

1
sir_kernel_twisted_ir(xxprev, it, rt, model_config)

Arguments

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;

Value

a sample of xxprev, vector of length N


nianqiaoju/agents documentation built on Feb. 19, 2021, 12:18 a.m.