irregular {capitalR} | R Documentation |
Amortization Schedule With Irregular Payments
Description
Creates an amortization schedule of a loan with irregular payments and withdrawals
Usage
irregular(payments, dates, apr, pv, info = TRUE)
Arguments
payments |
Vector of payments, the first payment must be 0 |
dates |
Vector of dates, the first date is the date of origination |
apr |
Annual rate |
pv |
Present Value |
info |
Logical, if set to 'TRUE' information about the dataframe arrangement will be printed |
Value
Returns the irregular Amortization Schedule in a Dataframe
Examples
irregular(payments = c(0, 200, -100), dates = c("2019-01-01", "2019-02-08", "2019-03-20"),
apr = 0.05, pv = 2000, info = FALSE)
[Package capitalR version 1.3.0 Index]