calc_pmt: Loan Payment (PMT)

View source: R/calculators.R

calc_pmtR Documentation

Loan Payment (PMT)

Description

Calculates the periodic payment for a loan.

Usage

calc_pmt(pv, rate, n, type = 0)

Arguments

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.

Value

Periodic payment amount.

Examples

calc_pmt(pv = 10000, rate = 0.01, n = 12) # Loan de R$10k, 1% ao mês, 12 meses


brfinance documentation built on Feb. 19, 2026, 9:06 a.m.