sir_kernel_twisted_i: Twisted SIR kernels

Description Usage Arguments Value

View source: R/sir_kernel_twisted_i.R

Description

samples from xt given it, rt and x(t-1). This function is used in sir_apf.R.

Usage

1
sir_kernel_twisted_i(xxprev, it, model_config)

Arguments

xxprev

agent states at the previous time;

it

infection 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.