bc_ratio | R Documentation |
This R function calculates BCR for the given information.
bc_ratio(cif_t0, cif, cif_times, cof_t0, cof, cof_times, r)
cif_t0 |
cash inflow at time 0 |
cif |
cash inflow vector |
cif_times |
cash inflow time vector |
cof_t0 |
cash outflow at time 0 |
cof |
cash outflow vector |
cof_times |
cash out flow time vector |
r |
nominal interest rate |
Returns BCR
bc_ratio(cif_t0 = 10, cif = 9,cif_times = 2,cof_t0 = -10, cof = -5, cof_times = 2, r= 0.1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.