Function to generate parameter values for the time range of the simulation that can change over time.

vary_param(nstep = nstep, vals = vals, timing = timing)

Arguments

nstep

Number of time steps to generate parameter values for.

vals

List of parameter values to include over the nsteps.

timing

List of the step numbers at which to start changes, with the last number reflecting when to hit the last parameter value in vals.

Value

list of parameter values for length t