Learn R Programming

WARDEN (version 0.99.1)

disc_ongoing_v: Calculate discounted costs and qalys between events for vectors

Description

Calculate discounted costs and qalys between events for vectors

Usage

disc_ongoing_v(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_v(lcldr=0.035,lclprvtime=0.5, lclcurtime=3, lclval=2500)


Run the code above in your browser using DataLab