Learn R Programming

WARDEN (version 0.99.1)

disc_ongoing: Calculate discounted costs and qalys between events

Description

Calculate discounted costs and qalys between events

Usage

disc_ongoing(lcldr = 0.035, lclprvtime, lclcurtime, lclval)

Value

Double based on continuous time discounting

Arguments

lcldr

The discount rate

lclprvtime

The time of the previous event in the simulation

lclcurtime

The time of the current event in the simulation

lclval

The value to be discounted

Examples

Run this code
disc_ongoing(lcldr=0.035,lclprvtime=0.5, lclcurtime=3, lclval=2500)


Run the code above in your browser using DataLab