R/constants.R
get_seir_level.Rd
Translate a character SEIR status into an integer index equivalent to the factor level
get_seir_level(x)
a character or character vector with values "S", "E", "I", or "R".
An integer value
get_seir_level("I")#> I #> 3