cashflow {EngrEcon} | R Documentation |
Calculate 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
Description
Calculate 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
Usage
cashflow(i, cashflowdata)
Arguments
i |
annual interest rate in percentage |
cashflowdata |
cash flow data containing the life span and money value of the cash flow for each year |
Value
cash.flow.table
Examples
# 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)
[Package EngrEcon version 1.0.0 Index]