stevecondylios / priceR

Economics and Pricing in R
https://stevecondylios.github.io/priceR/
Other
59 stars 7 forks source link

Allow using estimated inflation rates for current and future years in adjust_for_inflation #37

Open tmalsburg opened 2 years ago

tmalsburg commented 2 years ago

One way to make this work: When the to_date is the current year, the user also has to provide an estimated inflation rate. However, it may also be useful to accept a whole vector of estimated / hypothesized inflation rates for the current and the next years when to_date is a future year.

Cool package, by the way!