Compute the present value of a numeric quantiy z given a discount rate dr and times t.

pv(z, dr, t)

Arguments

z

A numeric quantity.

dr

The discount rate.

t

A vector of times to compute the present value.

Examples

pv(1000, dr = .03, t = 0:4)
#> [1] 1000.0000 970.8738 942.5959 915.1417 888.4870