Learn R Programming

capitalR (version 1.3.0)

schedule: Amortization Schedule

Description

Creates an amortization schedule of a loan

Usage

schedule(r, n, pv, fv = 0, end = TRUE)

Arguments

r

Rate

n

Number of Periods

pv

Present Value

fv

Future Value, set = 0

end

If FALSE, payments are made at the beginning of the period

Value

Returns the Amortization Schedule in a dataframe

Examples

Run this code
# NOT RUN {
schedule(r = 0.06/12, n = 10 * 12, pv = -5000, fv = 0, end = TRUE)
# }

Run the code above in your browser using DataLab