Index of "interesting" elements for the basic model. This function conforms to the mcstate interface.
basic_index(info)
The result of running the $info()
method on an
initialised basic model
A list with element run
, indicating the locations of the
ICU and D compartments.
p <- basic_parameters(sircovid_date("2020-02-07"), "england")
mod <- basic$new(p, 0, 10)
basic_index(mod$info())
#> $run
#> icu deaths deaths_inc
#> 3 4 5
#>