Goals and Introduction Are speed cameras a tool increase safety? Or a revenue grab by local governments plugging budget deficits? With the implementation of a speed

I recently learned about the microbenchmark package while browsing through Hadley’s advanced R programming book. I’ve done some quick benchmarking using system.time() in a for loop and taking the average, but the microbenchmark function in the microbenchmark package makes this much easier. Hadley gives the example of taking the square root of a vector using the built-in...

As previously mentioned, caret has two new feature selection routines based on genetic algorithms (GA) and simulated annealing (SA). The help pages for the two new functions give a detailed account of the options, syntax etc. The package already has functions to conduct feature selection using simple filters as well as recursive feature elimination (RFE). RFE...

Yesterday, Jörg has written a blog post on Data Storytelling with Smartphone sensor data. Here’s a practical approach on how to analyze smartphone sensor data with R. In this example I will be using the accelerometer smartphone data that Datarella provided in its Data Fiction competition. The dataset shows the acceleration along

Interactive visualization allows deeper exploration of data than static plots. Javascript libraries such as d3 have made possible wonderful new ways to show data. Luckily the R community has been active in developing R interfaces to some popular javascript libraries to enable R users to create interactive visualizations without knowing any javascript. In this post I have reviewed...

In case you missed them, here are some articles from November of particular interest to R users. R was featured in recent articles in Nature News and Mashable. A recap of the 6th Spanish R Users Conference. R was the recipient of a 2014 "Bossie" award for best open-source big data tools. A fractal Christmas tree created with R....

Today, the Twitter engineering team released another very interesting Open Source R package for working with time series data: “AnomalyDetection“. This package uses the Seasonal Hybrid ESD (S-H-ESD) algorithm to identify local anomalies (= variations inside seasonal patterns) and global anomalies (= variations that cannot be explained with seasonal patterns). As a

Mozilla released the MetricsGraphics.js library back in November of 2014 (gh repo) and was greeted with great fanfare. It’s primary focus is on crisp, clean layouts for interactive time-series data, but they have support for other chart types as well (though said support is far from comprehensive). I had been pondering building an R package

Plotly’s interactive 3D graphs have new capabilities: multiple scenes, streaming graphs, and contour lines. Plot from our web app, Excel, Google Docs, Python, MATLAB, and R. Contact us if you’re interested in running Plotly on-premise to integrate your own applications. Click any image to go to the full-screen interactive version. Mount Bruno Elevation...

e-mails with the latest R posts.

(You will not see this message again.)