disc_cycle_v | R Documentation |
Cycle discounting for vectors
disc_cycle_v(
lcldr = 0.035,
lclprvtime = 0,
cyclelength,
lclcurtime,
lclval,
starttime = 0
)
lcldr |
The discount rate |
lclprvtime |
The time of the previous event in the simulation |
cyclelength |
The cycle length |
lclcurtime |
The time of the current event in the simulation |
lclval |
The value to be discounted |
starttime |
The start time for accrual of cycle costs (if not 0) |
Double based on cycle discounting
disc_cycle_v(lcldr=0.035, lclprvtime=0, cyclelength=1/12, lclcurtime=2, lclval=500,starttime=0)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.