Expand value_step based on a series of steps. Use this to convert between the values passed to sircovid_parameters_piecewise_linear() and the actual values for a given set of steps.

sircovid_parameters_expand_step(step, value_step)

Arguments

step

A vector of steps

value_step

A vector of values

Value

A numeric vector the same length as step