From history output of a HumanPop
, convert individual histories in to a continuous time occupany vector.
The PfSI module has the following state space:
S: susceptible
I: infected
F: fever
P: chemoprophylactic protection
PEvaxx: begin PE vaccination protection
PEwane: end PE vaccination protection
GSvaxx: begin GS vaccination protection
GSwane: end GS vaccination protection
util_PfSIHistory(history, cpp = TRUE)
history | human event histories from |
---|---|
cpp | use Rcpp helper function |
list
util_PfSIHistory()#> Error in util_PfSIHistory(): argument "history" is missing, with no default