Learn R Programming

tvm (version 0.3.0)

disc_cf: Value of a discounted cashflow

Description

Value of a discounted cashflow

Usage

disc_cf(fd, cf)

Arguments

fd

The discount factor vector

cf

The cashflow

Examples

Run this code
# NOT RUN {
disc_cf(fd = c(1, 0.99, 0.98, 0.97), cf = c(1, -0.3, -0.4, -0.6))
# }

Run the code above in your browser using DataLab