Weighted hospitalization tracking when agents have multiple tools.
Arguments
- x
An object of class
epiworld_sir,epiworld_seir, etc. (any model).
Value
The function
get_hospitalizationsreturns a data.frame with five columns:date,virus_id,tool_id,hospitalizations, andweight. Theweightcolumn is used to keep track of individuals having multiple tools. For example, if an agent has two tools (vaccination and mask-wearing), then it will show up twice under count, but with weights 0.5 for each count. Models with no hospitalization tracking will return the same data.frame with no rows.
See also
Other Summaries:
epiworld-summaries
