Blog Archives

How to publish R and ggplot2 to the web

September 23, 2014
By
How to publish R and ggplot2 to the web

by Matt Sundquist, Plotly Co-founder It's delightfully smooth to publish R code, plots, and presentations to the web. For example: Shiny makes interactive apps from R. Pretty R highlights R code for HTML. Slidify makes slides from R Markdown. Knitr and RPubs let you publish R Markdown docs. GitHub and devtools let you quickly release packages and collaborate. Now,...

Read more »

Comparing machine learning models in R

September 18, 2014
By
Comparing machine learning models in R

by Joseph Rickert While preparing for the DataWeek R Bootcamp that I conducted this week I came across the following gem. This code, based directly on a Max Kuhn presentation of a couple years back, compares the efficacy of two machine learning models on a training data set. #----------------------------------------- # SET UP THE PARAMETER SPACE SEARCH GRID ctrl <-...

Read more »

R at Conferences this Fall

September 11, 2014
By

by Joseph Rickert The days are getting shorter here in California and the summer R conferences UseR!2014 and JSM are behind us, but there are still some very fine conferences for R users to look forward to before the year ends. DataWeek starts in San Francisco on September 15th. I will be conducting a bootcamp for new R users,...

Read more »

The Collatz Conjecture Continued

September 9, 2014
By

by Seth Mottaghinejad Let's review the Collatz conjecture, which says that given a positive integer n, the following recursive algorithm will always terminate: if n is 1, stop, otherwise recurse on the following if n is even, then divide it by 2 if n is odd, then multiply it by 3 and add 1 In our last post, we...

Read more »

Long Memory and the Nile: Herodotus, Hurst and H

September 4, 2014
By
Long Memory and the Nile: Herodotus, Hurst and H

by Joseph Rickert The ancient Egyptians were a people with long memories. The lists of their pharaohs went back thousands of years, and we still have the names and tax assessments for certain persons and institutions from the time of Ramesses II. When Herodotus began writing about Egypt and the Nile (~ 450 BC), the Egyptians who knew that...

Read more »

Using R to simulate the finances of public sector pension funds

September 2, 2014
By

by Don Boyd, Senior Fellow, Rockefeller Institute of Government The Rockefeller Institute of Government is excited to be developing models to simulate the finances of public pension funds, using R. Public pension funds invest contributions from governments and public sector workers in an effort to ensure that they can pay all promised benefits when due. State and local government...

Read more »

R User Group Roundup

August 28, 2014
By
R User Group Roundup

by Joseph Rickert In the first half of 2014, worldwide R user group activity continued to increase, showing impressive growth over the same periods for the past couple of years. For the last four months, the pace has been over 50 meetings per month. n There are now 147 user groups listed in Revolution Analytics' Local R User Group...

Read more »

Statistics: Losing Ground to CS, Losing Image Among Students

August 26, 2014
By

by Norman Matloff The American Statistical Association (ASA) leadership, and many in Statistics academia. have been undergoing a period of angst the last few years, They worry that the field of Statistics is headed for a future of reduced national influence and importance, with the feeling that: The field is to a large extent being usurped by other disciplines,...

Read more »

Revolution Analytics’ User Group Map Contest has a Winner

August 21, 2014
By

by Joseph Rickert We are pleased to announce that Jo-fai Chow is the winner of the Revolution Analytics contest. Jo-fai’s entry, which was implemented as a Shiny project, may be viewed by clicking on the figure below. Jo-fai’s work not only produced an aesthetically pleasing sequence of maps but also provides a superb example of a well-documented, small project...

Read more »

Integrating R with production systems using an HTTP API

August 19, 2014
By
Integrating R with production systems using an HTTP API

by Nick Elprin, Co-Founder of Domino Data Lab We built a platform that lets analysts deploy R code to an HTTP server with one click, and we describe it in detail below. If you have ever wanted to invoke your R model with a simple HTTP call, without dealing with any infrastructure setup or asking for help from developers...

Read more »