FV: Calculate Future Value of Cash Flows

Description Usage Arguments Value Author(s) Examples

View source: R/FV.R

Description

Given an interest rate, the number of payment periods, the periodic payments, and the present value, calculate the future value.

Usage

1
FV(rate, nper, pmt, pv)

Arguments

rate

Interest rate you would like used when compounding.

nper

Number of periods to use when compounding the present value.

pmt

Vector of future cash flows (should match nper) that you would like compounded. Starts at t = 1.

pv

Present amount you wish to compound.

Value

Returns the future value of cash flows given.

Author(s)

Nick Bultman, njbultman74@gmail.com, March 2021

Examples

1
2
3
FV(0.05, 5, c(50, 50, 50, 50, 50), 100)
FV(0.01, 3, c(50, 100, 150), 100)
FV(0.03, 10, 0, 5000)

njbultman/xlsxFunctions documentation built on Aug. 8, 2021, 3:14 p.m.