powered by
npv(r, cf)
pv.simple
pv.uneven
irr
npv(r=0.12, cf=c(-5, 1.6, 2.4, 2.8))
Run the code above in your browser using DataLab