pmt: Calculate monthly payment

Description Usage Arguments Value Examples

Description

Calculate payment based on APR, Amount Financed and Term (in months). Should yield same results as Excel's "PMT" function

Usage

1
pmt(r, p, n)

Arguments

r

A float number representing APR.

p

A float number representing amount financed

n

An integer representing term in months

Value

A float number representing monthly payment

Examples

1
alf_payment <- pmt(0.17, 30000, 72)

hongqi0314/PRAuto.PMML documentation built on May 6, 2019, 11:30 a.m.