discount_rate.Rd
Compute discount rate
discount_rate(h = 0:50, rate = c("official", "constant", "cgp"), ...)
integer, sequence of year
character, choice for discount rate
other parameters
numeric, discount rate for each year given in h
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")