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)

Arguments

history

human event histories from HumanPop$get_History()

cpp

use Rcpp helper function util_PfSIoneHistory

Value

list

Examples

util_PfSIHistory()
#> Error in util_PfSIHistory(): argument "history" is missing, with no default