Calculates the payment, present value, future value, rate, or the number of periods
$annuity(type = "pmt", pv = -2000, fv = 0, n = 4 * 12, r = 0.06/12, end = TRUE)$
type Select the loan parameter to return:"pmt" Periodic Payment"pv" Present Value"fv" Future Value"nper" Number of Periods"rate" Rater Periodic Raten Number of Periodsend Logical. If FALSE payments are made at the beginning of the periodCalculates the interest portion of the periodic payment at period "x"
$ipmt(pv = 20000, fv = 0, n = 5 * 12, r = 0.05/12, x = 12, end = TRUE)$
pv Present Valuefv Future Valuer Periodic Raten Number of Periodsx Period end Logical. If FALSE payments are made at the beginning of the periodCalculates the principal portion of the periodic payment at period "x"
$ppmt(pv = 20000, fv = 0, n = 5 * 12, r = 0.05/12, x = 12, end = TRUE)$
pv Present Valuefv Future Valuer Periodic Raten Number of Periodsx Period end Logical. If FALSE payments are made at the beginning of the periodReturns the loan amortization schedule
$schedule(r = 0.06/12, n = 10 * 12, pv = -5000, fv = 0, end = TRUE)$
pv Present Valuefv Future Valuer Periodic Raten Number of Periodsend Logical. If FALSE payments are made at the beginning of the periodReturns the loan amortization schedule with irregular payments
$irregular(payments = c(0, 200, -100, 500), dates = c("2019-01-01", "2019-02-08", "2019-03-20", "2019-05-05"), apr = 0.05, pv = 2000, info = TRUE)$
payments Vector of payments, inital payment must be 0dates Vector of Dates in which payments take placeapr Annual Percent Ratepv Present Valueinfo Logical. If set to 'TRUE', information about the dataframe arrangement will be printed$pv(fv = 20000, n = 5 * 12, r = 0.08 / 12)$
fv Future Valuen Number of Periodsr Discount Rate$fv(pv = 20000, n = 5 * 12, r = 0.08 / 12)$
pv Present Valuen Number of Periodsr Discount RateComputes the geometric mean return of a vector of periodic returns in decimal form
$geometric(c(0.20, 0.05, -0.50, 0.75, 0.25))$
Calculates the periodic return, supply a vector of numerical asset prices
$r.calc(c(80, 65, 70, 75, 90, 105))$
Any scripts or data that you put into this service are public.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.