| calc_pmt | R Documentation |
Calculates the periodic payment for a loan.
calc_pmt(pv, rate, n, type = 0)
pv |
Present value (loan amount). |
rate |
Interest rate per period (decimal). |
n |
Number of periods. |
type |
Payment timing: 0 for end of period, 1 for beginning of period. |
Periodic payment amount.
calc_pmt(pv = 10000, rate = 0.01, n = 12) # Loan de R$10k, 1% ao mês, 12 meses
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.