Optimizing My R Code

April 25, 2011

Thanks to gappy3000 I optimized my code in few several ways. The original script lasted ~30 minutes thanks to using pure vectors instead of zoo objects. First of all I changed all lm functions for lm.fit functions. Although lm.fit function cannot handle data with NAs and I had to handle it separately, this little improvement […]

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.