calc_npv: Net Present Value

View source: R/dcf.R

calc_npvR Documentation

Net Present Value

Description

Net Present Value

Usage

calc_npv(cf, r, c0 = 0)

Arguments

cf

Numeric. Cash flow for each period.

r

Numeric. Cost of capital.

c0

Numeric. Initial investment. Default 0.

Value

Rate of return.

Examples

cf <- rep(25000, 60)
npv <- calc_npv(cf, 0.0064, 1000000)

maximilian-muecke/firmValueSim documentation built on Oct. 2, 2022, 5:40 p.m.