branching_model: Branching process model. Random simulation according to the...

Description Usage Arguments Value See Also

View source: R/branching_model.R

Description

Branching process model. Random simulation according to the required parameters

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
branching_model(
  num.initial.cases = NULL,
  prop.ascertain = NULL,
  cap_max_days = NULL,
  cap_cases = NULL,
  r0isolated = NULL,
  r0community = NULL,
  disp.iso = NULL,
  disp.com = NULL,
  k = NULL,
  delay_shape = NULL,
  delay_scale = NULL,
  prop.asym = NULL,
  quarantine = NULL
)

Arguments

num.initial.cases

the number of initial cases

prop.ascertain

the proportion of transmission that occurred before symptom onset

cap_max_days

maximum times

cap_cases

maximum cases

r0isolated

basic reproduction number during isolation period

r0community

basic reproduction number during non-isolation period

disp.iso

dispersion parameter during isolation period

disp.com

dispersion parameter during non-isloation period

delay_shape

the serial interval distribution shape parameter of the delay from symptom onset to isolation

delay_scale

the serial interval distribution scale parameter of the delay from symptom onset to isolation

prop.asym

the proportion of asymptomatic

quarantine

logical value

Value

dayly_cases

See Also

Other branching process: Re_estimate(), branching_setup(), branching_simulation(), branching_step(), detect_extinct(), dist_setup(), extinct_prob(), inf_fn()


RussellXu/rtestimate documentation built on Jan. 1, 2022, 7:18 p.m.