Skip to contents

get_pv_cf_roll returns the remaining present value of future cash flows (cf) in every year forward

Usage

get_pv_cf_roll(rate, cf)

Arguments

rate

Annual discount rate (scalar double).

cf

A list of cash flows in n=length(cf) number of years

Value

A list of numeric values

Examples

cf <- c(100, 200, 300, 400, 500, 600)
get_pv_cf_roll (0.05, cf) #$1,704.37 $1,609.13 $1,427.72 $1,168.57 $839.49) $447.73
#> [1] 1704.3686 1689.5870 1574.0664 1352.7697 1020.4082  571.4286