cashflow | R Documentation |
cashflow
Compute a given cash flow data's present value and annual value.
The first column is the cash flow year;the rest is the cash flow money.
The number of rows is the lifespanCalculate present value and annual value from a given future payments of cash flows
cashflow
Compute a given cash flow data's present value and annual value.
The first column is the cash flow year;the rest is the cash flow money.
The number of rows is the lifespan
cashflow(i, cashflowdata)
i |
annual interest rate in percentage |
cashflowdata |
cash flow data containing the life span and money value of the cash flow for each year |
cash.flow.table
# Result : cash.flow.table
# Result : future value = 232540.78
# Result : present value = 206330.96
year = c(1:5)
capital = c(63000,1300,1300,1600,1300)
year1 = c(60000,0,10000,0,0)
year2 = c(0,0,30000,50000,0)
cashflowdata <- data.frame (year, capital, year1, year2)
cashflow(0.055, cashflowdata)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.