annuity {capitalR} | R Documentation |
Annuity Loan Calculation
Description
Calculates the payment, present value, future value, rate, or the number of periods
Usage
annuity(type = c("pv", "fv", "pmt", "nper", "rate"), pv, fv = 0, pmt,
n, r, end = TRUE)
Arguments
type |
Loan parameter to return. ("pv", "fv", "pmt", "nper", "rate") |
pv |
Present Value |
fv |
Future Value |
pmt |
Periodic Payment |
n |
Number of Periods |
r |
Rate |
end |
Logical, set to TRUE. If FALSE, payments are made at the beginning the period. |
Value
Returns the selected Annuity Loan Parameter
Examples
annuity(type = "pmt", pv = -2000, fv = 0, n = 4 * 12, r = 0.06/12, end = TRUE)
[Package capitalR version 1.3.0 Index]