Monthly Archives: July 2010

The counterfactual GPS!

July 23, 2010
By
The counterfactual GPS!

WHAT IF YOUR GPS TOLD YOU WHAT WOULD HAVE HAPPENED IF YOU HAD TAKEN THE OTHER ROUTE? Not long ago, your Decision Science News editor was planning a trip to a book group meeting along with another member. The monthly book group takes place in Cove Neck Long Island, about an hour East of Manhattan.

Read more »

Why building R packages is good for you

July 23, 2010
By

Basically every function you use in R is part of a package (often the base or stats one). Most of the advances routines, such as the differential equations solvers in simecol are brought to R in the form of Fortran (…)Read the rest of this entry »

Read more »

Turning your data into a 3d chart

July 23, 2010
By
Turning your data into a 3d chart

Some charts are to help you analyse data. Some charts are to wow people. 3d charts are often the latter, but occasionally the former. In this post, we’ll look at how to turn your data into a 3d chart. Let’s use the data from this previous post. Use the code which turns the .csv spreadsheet

Read more »

Plaudits for R

July 23, 2010
By

I just discovered that R core member Paul Murrell has been maintain a list of plaudits for R: newspaper articles, book reviews, remarks on mailing lists and blogs, and even gratitudes from individual R users. He's collected dozens of entries since 2001 -- great materials here if you ever need more evidence of the awesomeness of R. Paul Murrell:...

Read more »

Building an R package (under Windows) without C, C++ or FORTRAN code

July 23, 2010
By
Building an R package (under Windows) without C, C++ or FORTRAN code

Why build and R package? It basically boils down to be able to brag at your local pub that a new version of YOUR package is on CRAN as of 7 p.m. CET. But seriously, if you’ve produced some function that other people might benefit (or have ordered them) from using them, like your boss,

Read more »

Creating a Presentation with LaTeX Beamer – Equations and tikz

July 23, 2010
By
Creating a Presentation with LaTeX Beamer – Equations and tikz

Many presentations created using LaTeX beamer included mathematical equations and these can be easily included in a presentation and in this post we will consider using the tikz package to add various interesting elements to equations, such as lines between text on a slide and part of an equation. Fast Tube by Casper The examples on this

Read more »

UseR! 2010 day 1

July 22, 2010
By

Just a couple of quick notes about the first day of talks at useR! 2010. It's been a jam-packed schedule -- so many good talks to see and people to meet, I just wish I had more time for it all! One stand-out for me so far has been Frank Harrell's keynote lecture Information Allergy, on the dangers of...

Read more »

Quick scatterplot with associated histograms

July 22, 2010
By
Quick scatterplot with associated histograms

R can produce some beautiful graphics, and there are some excellent packages, such as lattice and ggplot2 to represent data in original ways.  But sometimes, all you want to do is explore the realtionship between pairs of variables with the minimum of fuss. In this post we’ll use the data which we imported in the

Read more »

Update to ‘Basic R’ eBook

July 22, 2010
By

(This article was first published on Rmetrics blogs, and kindly contributed to R-bloggers) To leave a comment for the author, please follow the link and comment on his blog: Rmetrics blogs. R-bloggers.com offers daily e-mail updates about R news and tutorials on topics such as: visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web...

Read more »

BP Oil and Gas Recovery

July 21, 2010
By
BP Oil and Gas Recovery

As mentioned in a previous post, the US Department of Energy has been providing data about the Deepwater Horizon as it becomes available.  Recently, the amount of oil and gas recovered was made available.  The spreadsheet includes a grap...

Read more »