Go from a single multi-treatment dose string to a vector of dose-indices

dose_string_to_vector(x)

Arguments

x

a multi-treatment dose string like "1.3" or "3.2"

Value

a vector of integer dose-indices

Examples

dose_string_to_vector("1.3")
#> [1] 1 3