ppmt: Principal Payment

Description Usage Arguments Value Examples

View source: R/capitalR.R

Description

Calculates the principal of the payment in period "x"

Usage

1
ppmt(pv, fv = 0, n, r, x, end = TRUE)

Arguments

pv

Present Value

fv

Future Value

n

Number of Periods

r

Rate

x

Period in which to calculate the principal portion of the payment

end

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

Value

Returns the Principal Portion of the Payment in Period "x"

Examples

1
ppmt(pv  = 5000, fv = 0, n = 4 * 12, r = 0.06/12, x = 12, end = TRUE)

Example output

[1] -97.63754

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