Sellke: Sellke

Description Usage Arguments Value

View source: R/Sellke.R

Description

This function generate synthetic epidemic data using Sellke construction in Algorithm 3.1

Usage

1
Sellke(n, rho = 0.01, beta = 0.3, gamma = 0.15, Tmax = 80, dt = 0.001)

Arguments

n

number of initial susceptible

rho

parmeters, tranmission rate, recovery rate, initial infective ratio

beta

parmeters, tranmission rate, recovery rate, initial infective ratio

gamma

parmeters, tranmission rate, recovery rate, initial infective ratio

Tmax

cutoff time of epidemic

dt

time increment

Value

returns are individual infection time and removed time.

number of rows are n + n*rho


2019020826/SDSMCMC documentation built on March 2, 2020, 5:31 a.m.