params
-- are they modified?do_hazard
is FALSE
by defaultstate
is coming in NULL
set N = 1
make_state
with N = 1
and E0 = 1e-05
, use_eigvec = FALSE
make_state
"S" "E" "Ia" "Ip" "Im" "Is" "H" "H2" "ICUs" "ICUd" "D" "R"
all set to zeroE
states to E0
S
states to N - sum(E0)
, which I think really is just N - E0
state
ratemat
with this state
run_sim_range
with do_exponential = TRUE
and testwt_scale = "none"
run_sim_range
foi
columns to NA
res
matrix to NA
do_step
do_step
outflow[S_states] = rowSums(flows[S_pos, S_pos])
outflow[non_S_states] = rowSums(flows[notS_pos, p_states])
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.