Displaying 1 result from an estimated 1 matches for "tp864645p2231910".
2008 Jul 31
3
Code to calculate internal rate of return
Hi all.
I am an R newbie and trying to grasp how the simple optimization routines in
R work. Specifically, I would like some guidance on how to set up a code to
calculate the internal rate of return on an investment project
(http://en.wikipedia.org/wiki/Internal_rate_of_return).
My main problem (I think) is that I want a generic code where N (number of
periods) can be easily changed and set