powered by
Creates an amortization schedule of a loan with irregular payments and withdrawals
irregular(payments, dates, apr, pv, info = TRUE)
Vector of payments, the first payment must be 0
Vector of dates, the first date is the date of origination
Annual rate
Present Value
Logical, if set to 'TRUE' information about the dataframe arrangement will be printed
Returns the irregular Amortization Schedule in a Dataframe
# NOT RUN { irregular(payments = c(0, 200, -100), dates = c("2019-01-01", "2019-02-08", "2019-03-20"), apr = 0.05, pv = 2000, info = FALSE) # }
Run the code above in your browser using DataLab