Skip to contents

Compute discount rate

Usage

discount_rate(h = 0:50, rate = c("official", "constant", "cgp"), ...)

Arguments

h

integer, sequence of year

rate

character, choice for discount rate

...

other parameters

Value

numeric, discount rate for each year given in h

Details

Compute discount rate for each year of a sequence. Useful when rate can evolve with years (as for"cgp").

discount_rate() discount_rate(rate = "constant") discount_rate(rate = "cgp")