future_value | R Documentation |
computes the future value of some cashflow stream using the provided interest rate, cashflow transaction, compounding type and termin period.
future_value(
cashflow = NULL,
r = NULL,
terminal_period = NULL,
simple = T,
verbose = T
)
cashflow |
a collection of cashflows made to an idealized bank - a cashflow stream (positive and negative) |
r |
interest rate (in percent) |
terminal_period |
after how many future periods the cashflow should be realized. if this is zero, then the terminal period is the last time step a cashflow transaction occurs (e.g., length(cashflow)). |
simple |
Use linear (default) or exponential discounting |
verbose |
should verbose logging be used |
returns the value of the cashflow after the terminal_period
christian bitter
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.