irregular: Amortization Schedule With Irregular Payments

Description Usage Arguments Value Examples

View source: R/capitalR.R

Description

Creates an amortization schedule of a loan with irregular payments and withdrawals

Usage

1
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

1
2
irregular(payments = c(0, 200, -100), dates = c("2019-01-01", "2019-02-08", "2019-03-20"),
apr = 0.05, pv = 2000, info = FALSE)

capitalR documentation built on Dec. 1, 2019, 1:23 a.m.