[This article was first published on Data Science, Machine Learning and Predictive Analytics, and kindly contributed to R-bloggers]. (You can report issue about the content on this page here)
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
I built robustreg in 2006 and at the time the major stat packages did not have a robust regression available. Below are graphs of weekly and cumulative downloads from just the RStudio mirror. I would estimate total downloads at over 150,000.
The median_rcpp() function is written in C++ and is multiple times faster than the R base function median().
> r_norm<- rnorm(1000000)
> system.time(median(r_norm)) user system elapsed 0.040 0.004 0.044 > system.time(median_rcpp(r_norm)) user system elapsed 0.011 0.000 0.011
> median(r_norm) [1] -0.001214243 > median_rcpp(r_norm) [1] -0.001214243
var vglnk = { key: '949efb41171ac6ec1bf7f206d57e90b8' }; (function(d, t) {var s = d.createElement(t); s.type = 'text/javascript'; s.async = true;s.src = '//cdn.viglink.com/api/vglnk.js';var r = d.getElementsByTagName(t)[0]; r.parentNode.insertBefore(s, r); }(document, 'script'));To leave a comment for the author, please follow the link and comment on their blog: Data Science, Machine Learning and Predictive Analytics.
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.