Learn R Programming

brfinance (version 0.8.0)

calc_future_value_ext: Future Value Extended (with periodic payments)

Description

Calculates the future value with optional periodic payments.

Usage

calc_future_value_ext(pv, rate, n, pmt = 0, type = 0)

Value

Future value.

Arguments

pv

Present value.

rate

Interest rate per period (decimal).

n

Number of periods.

pmt

Periodic payment (default = 0).

type

Payment timing: 0 for end of period (ordinary annuity), 1 for beginning of period (annuity due).

Examples

Run this code
calc_future_value_ext(pv = 1000, rate = 0.05, n = 10, pmt = 100)
calc_future_value_ext(pv = 0, rate = 0.01, n = 12, pmt = 500, type = 1)

Run the code above in your browser using DataLab