powered by
This function must be placed inside the object that will be passed as the argument func to deSolve's ode function.
func
ode
sd_pulse_s(time, volume, start_p, interval)
A number
timestep <- function() 0.25 # replicates timestep() from deSolve sd_pulse_s(2, 1, 2, 0)
Run the code above in your browser using DataLab