powered by
Calculate discounted costs and qalys between events for vectors
disc_ongoing_v(lcldr = 0.035, lclprvtime, lclcurtime, lclval)
Double based on continuous time discounting
The discount rate
The time of the previous event in the simulation
The time of the current event in the simulation
The value to be discounted
disc_ongoing_v(lcldr=0.035,lclprvtime=0.5, lclcurtime=3, lclval=2500)
Run the code above in your browser using DataLab