financial (version 0.2)

sppv: Single Payment or Uniform Series Present and Future Values

Description

Calculate SPPV, SPFV, USPV and USFV factors from given rates and numbers of periods.

Usage

sppv(i, n) spfv(i, n) uspv(i, n) usfv(i, n)

Arguments

i
a vector of rates (in percents).
n
a vector of periods.

Value

A vector of SPPV, SPFV, USPV or USFV values.

Examples

Run this code
spfv(10,1:100)
sppv(10,1:100)
uspv(10,1:100)
usfv(10,1:100)

Run the code above in your browser using DataCamp Workspace