Monthly Archives: December 2012

Climate: Misspecified

December 4, 2012
By
Climate: Misspecified

I'm usually quite a big fan of the content syndicated on R-Bloggers (as this post is), but I came across a post yesterday that was as statistically misguided as it was provocative. In this post, entitled "The Surprisingly Weak Case for Global Warming," the author (Matt Asher) claims that the trend toward hotter average global temperatures over the last

Read more »

An update on Shiny

December 4, 2012
By
An update on Shiny

Last month we released Shiny, our new R package for creating interactive web applications. The response from the community has been extremely encouraging–we’ve received a lot of great feedback that has helped us to make significant improvements to the framework already! Shiny 0.2.3 on CRAN Starting with Shiny 0.2.3, you can install the latest stable

Read more »

R FAQs for the fresh starters

December 4, 2012
By

R, which was largely predominant in the academic world, has started picking up a lot in businesses as well. At least that is what I am witnessing among my colleagues. Lot of people have started experimenting with R, choosing the path to enlightenment. ...

Read more »

An epithet I can live with

December 4, 2012
By

Here. Indeed, I’d much rather be a legend than a myth. I just want to clarify one thing. Walter Hickey writes: collaborated on this presentation where they take a hard look at what’s wrong with the recent trends of data visualization and infographics. The takeaway is that while there have The post An...

Read more »

More Shiny Goodness – Tinkering With the Ergast Motor Racing Data API

December 4, 2012
By
More Shiny Goodness – Tinkering With the Ergast Motor Racing Data API

I had a bit of a play with Shiny over the weekend, using the Ergast Motor Racing Data API and the magical Shiny library for R, that makes building interactive, browser based applications around R a breeze. As this is just a quick heads-up/review post, I’ll largely limit myself to a few screenshots. When I

Read more »

Reading/Writing Stata (.dta) files with Foreign

December 4, 2012
By
Reading/Writing Stata (.dta) files with Foreign

Oftentimes we find ourselves collaborating with others who might not use R or prefer to use Stata to clean and manage their data. Luckily, there is the foreign package that permits handling data of different types (SAS, SPSS, Stata, etc.) within the R...

Read more »

Have you tried to understand your network? – Random generation of network models

December 4, 2012
By
Have you tried to understand your network? – Random generation of network models

I already talked about networks a few times in this blog. In particular, I had this approach to explain spatial segregation in a city or to solve the Guess Who? problem. However, one of the question is how to generate a good network. Indeed, I aim to study strategy to split a network, but I...

Read more »

What exactly is “elegant” code in R?

December 4, 2012
By

In celebration of my achieving 10,000 “reputation” on Stack Overflow, I’m re-posting one of my questions from there that was (as I had expected) deleted after being live for about 5 hours. In that time, I never really got a satisfactory answer, so if anyone wants to offer one in the comments, that would be

Read more »

Changing colours and legends in lattice plots

December 4, 2012
By
Changing colours and legends in lattice plots

Lattice plots are a great way of displaying multivariate data in R. Deepayan Sarkar, the author of lattice, has written a fantastic book about Multivariate Data Visualization with R . However, I often have to refer back to the help pages to remind myself how to set and change the legend and how to ensure that...

Read more »

project euler: problem 62

December 3, 2012
By

The cube, 41063625 (3453), can be permuted to produce two other cubes: 56623104 (3843) and 66430125 (4053). In fact, 41063625 is the smallest cube which has exactly three permutations of its digits which are also cube.Find the smallest cube for which exactly five permutations of its digits are cube.Read...

Read more »