NPV: Net Present Value

npvR Documentation

Net Present Value

Description

This R function will calculate NPV for the given cashflow streams.

Usage

npv(cf_t0, cf, times, r)

Arguments

cf_t0

Cashflows at time 0

cf

Cashflow vector

times

Cashflow times

r

rate of return

Value

Returns the NPV for the given cashflow streams

Examples

npv(cf_t0 = -1000 , cf = c(100,300)  , times = c(3,2)  , r = 0.05)

Bahram-Abediniangerabi/ConstructionAnalyticsR documentation built on March 6, 2023, 7:52 a.m.