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 within the code, Hope this makes sense - any help appreciated !!! Thomas -- View this message in context: http://www.nabble.com/Code-to-calculate-internal-rate-of-return-tp18757967p18757967.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ [email protected] mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.

