Sketching Scatterplots to Demonstrate Different Correlations

December 17, 2014
By
Sketching Scatterplots to Demonstrate Different Correlations

Looking just now for an openly licensed graphic showing a set of scatterplots that demonstrate different correlations between X and Y values, I couldn’t find one. So here’s a quick R script for constructing one, based on a Cross Validated question/answer (Generate two variables with precise pre-specified correlation): And here’s an example of the result:

Read more »

Preferring a preference index

December 17, 2014
By
Preferring a preference index

I’ve been reading about preference indexes lately, specifically for characterising pollinator preferences for plants, so here is what I learnt. Preference is defined as using an item (e.g. plant) more...

Read more »

Joint Models with Categorical Longitudinal Outcomes

December 17, 2014
By

Extending the Standard Joint Model In a previous post we have briefly introduced the framework of joint models for longitudinal and time-to-event data, and we have shown how models...

Read more »

New R package for electricity forecasting

December 17, 2014
By

Shu Fan and I have developed a model for electricity demand forecasting that is now widely used in Australia for long-term forecasting of peak electricity demand. It has become...

Read more »

More Snowdoop Coming

December 16, 2014
By
More Snowdoop Coming

In spite of the banter between Yihui and me, I’m glad to hear that he may be interested in Snowdoop, as are some others.  I’m quite busy this week...

Read more »

Peter Norvig’s Spell Checker in Two Lines of Base R

December 16, 2014
By
Peter Norvig’s Spell Checker in Two Lines of Base R

Peter Norvig, the director of research at Google, wrote a nice essay on How to Write a Spelling Corrector a couple of years ago. That essay explains and...

Read more »

Introducing V8: An Embedded JavaScript Engine for R

December 16, 2014
By
Introducing V8: An Embedded JavaScript Engine for R

JavaScript is an fantastic language for building applications. It runs on browsers, servers and databases, making it possible to design...

Read more »

Yikes…It’s Been Awile

December 16, 2014
By

Apparently our last blog post was in August. Dang. Where did five months go? Blog guilt would be killing me, but I swear it was just yesterday that Mine...

Read more »

10 new R jobs (for December 16th 2014) – from Intel to University of Iowa and more

December 16, 2014
By
10 new R jobs (for December 16th 2014) – from Intel to University of Iowa and more

This is the bimonthly R Jobs post (for 2014-12-16), based on the R-bloggers’ sister website: R-users.com. If you are an employer who is looking to hire people from the R community, please visit this link...

Read more »

The Mandelbrot Set in R

December 16, 2014
By
The Mandelbrot Set in R

IntroductionI was having a conversation with someone I know about weather forecasts the other day and it went something like this:"Yes, their forecasts are really not very good. They...

Read more »

Interactive 2D & 3D Plots with Plotly and ggplot2

December 16, 2014
By
Interactive 2D & 3D Plots with Plotly and ggplot2

by Matt Sundquist co-founder of Plotly R, Plotly, and ggplot2 let you make, share, and collaborate on beautiful, interactive plots online. Let's see what we can do with the...

Read more »

Extending methylKit: Christmas Offer for Methylome Researchers

December 16, 2014
By

Next week is going to be a vacation and most of us are going on vacation. Me too. However, I thought that this Christmas I would OFFER fellow researchers...

Read more »

Simulating Intricate Branching Patterns with DLA

December 16, 2014
By
Simulating Intricate Branching Patterns with DLA

Manfred Schroeder's book Fractals, Chaos, Power Laws is a fruitful source of interesting topics and projects. He gives a thorough description of Diffusion-Limited Aggregation (DLA) as a technique for...

Read more »

Notes from the Kölner R meeting, 12 December 2014

December 16, 2014
By
Notes from the Kölner R meeting, 12 December 2014

Last week's Cologne R user group meeting was the best attended so far, and it was a remarkable event - I believe not a single line of R code...

Read more »

The Awesome Parrondo’s Paradox

December 15, 2014
By
The Awesome Parrondo’s Paradox

A technique succeeds in mathematical physics, not by a clever trick, or a happy accident, but because it expresses some aspect of physical truth (O. G. Sutton) Imagine three...

Read more »

New Package: partools

December 15, 2014
By
New Package:  partools

I mentioned last week that I would be putting together a package, based in part on my posts on Snowdoop.  I’ve now done so, in a package partools., with...

Read more »

Cartography with complex survey data

December 15, 2014
By
Cartography with complex survey data

Visualizing complex survey data is something of an art. If the data has been collected and aggregated to geographic units (say, counties or states), a choropleth is one option....

Read more »

Learning R: Live Webinar, Interactive Self-Paced, or Site Visit?

December 15, 2014
By
Learning R: Live Webinar, Interactive Self-Paced, or Site Visit?

My recent blog post, Why R is Hard to Learn, must have hit a nerve as it was read by over 6,000 people in its first two days online. ...

Read more »

Updated quantmod on CRAN

December 15, 2014
By

An updated version of quantmod has just been released on CRAN.  This is my first submission as the new maintainer.  The major change was removing the dependency on the now-archived Defaults...

Read more »

Review: Data Science at the Command Line

December 15, 2014
By
Review: Data Science at the Command Line

Admission: I didn’t really know how computers worked until around 2012. For the majority of my career, I’ve worked for large companies with centralized IT functions. Like many statisticians,...

Read more »

QQ-plots in R vs. SPSS – A look at the differences

December 15, 2014
By
QQ-plots in R vs. SPSS – A look at the differences

We teach two software packages, R and SPSS, in Quantitative Methods 101 for psychology freshman at Bremen University (Germany). Sometimes confusion arises, when the software packages produce different results....

Read more »

Decide which frequent flyer program is best for your city

December 14, 2014
By
Decide which frequent flyer program is best for your city

Use our interactive tool to find out which airline has the most departures from your city The post Decide which frequent flyer program is best for your city...

Read more »

A time series classification contest

December 14, 2014
By
A time series classification contest

Amongst today’s email was one from someone running a private competition to classify time series. Here are the essential details. The data are measurements from a medical diagnostic machine...

Read more »

stringi 0.4-1 released – fast, portable, consistent character string processing

December 14, 2014
By

A new release of the stringi package is available on CRAN (please wait a few days for Windows and OS X binary builds). # install.packages("stringi") or update.packages() library("stringi") Here’s...

Read more »

httr 0.6.0

December 14, 2014
By
httr 0.6.0

httr 0.6.0 is now available on CRAN. The httr packages makes it easy to talk to web APIs from R. Learn more in the quick start vignette. This release...

Read more »

Hierarchical Clustering with R (feat. D3.js and Shiny)

December 14, 2014
By
Hierarchical Clustering with R (feat. D3.js and Shiny)

Agglomerative hierarchical clustering is a simple, intuitive and well-understood method for clustering data points. I used it with good results in a project to estimate the true geographical position...

Read more »

Monthly Weather in Netherlands

December 14, 2014
By
Monthly Weather in Netherlands

When I downloaded the KNMI meteorological data, the intention was to do something which takes more than just the computers memory. While it is clearly not big data, at...

Read more »

Parallelism via “parSapply”

December 13, 2014
By

In an earlier post, I used mclapply to kick off parallel R processes and to demonstrate inter-process synchronization via the flock package. Although I have been using this approach...

Read more »

rfoaas 0.0.4.20141212

December 13, 2014
By

A new version of rfoaas is now on CRAN. The rfoaas package provides an interface for R to the most excellent FOAAS service -- which provides a modern,...

Read more »