convert the string version of months waited to the numeric id version
convert_months_waited_to_id.Rd
convert the string version of months waited to the numeric id version
Examples
mnths_waited <- c("<1", "1-2", "2-3", "3-4", "4-5", "5+")
convert_months_waited_to_id(
months_waited = mnths_waited,
max_months_waited = 3
)
#> [1] 0 1 2 3 3 3