dRate: dRate

Description Usage Arguments Value Examples

Description

Discount rate reflects the risk (the higher the risk the higher the discount rate). Is used to discount all forecast future cash flows to calculate a present value:

Usage

1
dRate(x, r, wtAv = FALSE)

Arguments

x

a vector holding a time series

r

a numeric discount rate

wtAv

a logical, FALSE by default, if TRUE then uses discount rate to calculate a weighted average

Value

net present value

Examples

1
2
3
4
## Not run: 
   x=rnorm(20)
   dRate(x,0.05)
## End(Not run)

zanbi/https-github.com-marchtaylor-fishdynr-FISHDYNR documentation built on March 7, 2020, 12:50 a.m.