npv_rate: Net present value at constant rate

View source: R/utils.R

npv_rateR Documentation

Net present value at constant rate

Description

NPV of cf evaluated at times (default 0..T).

Usage

npv_rate(cf, rate, times = seq_along(cf) - 1L)

Arguments

cf

numeric. Cash flows.

rate

numeric(1). Discount rate (decimal).

times

integer. Time indices (same length as cf).

Value

numeric(1) NPV.


cre.dcf documentation built on April 10, 2026, 5:08 p.m.