powered by
IRR(cf0,cf,times,plot=FALSE)
NPV
IRR(cf0=100,cf=c(1,1,30,40,50,1),times=c(1,1,3,4,5,6))
Run the code above in your browser using DataLab