Comment on Sustainability and innovation in staple crop production in the US Midwest

July 28, 2014
By
Comment on Sustainability and innovation in staple crop production in the US Midwest

After writing a blog post about the paper “Sustainability and innovation in staple crop production in the US Midwest” I decided to submit a formal comment to the International Journal of Agricultural Sustainability in July 2013, which was published today. As far as I know, Heinemann et al. provided a rebuttal to my comments, which

Read more »

Reuters uses R to report on surge in coastal flooding in US

July 28, 2014
By
Reuters uses R to report on surge in coastal flooding in US

As global warming causes sea levels to rise, the risk of flooding for coastal settlements also rises over time. A recent analysis by Reuters find that incidents of coastal...

Read more »

Analyses as Packages

Analyses as Packages TL;DR Instead of writing an analysis as a single or set of R scripts, use a package and include the analysis as a vignette of the package. Read...

Read more »

a:class <- b

July 28, 2014
By

Usually in strongly typed languages, like C++, the type of a variable comes before the variable, e.g.: int x = 23 ; So x is declared of...

Read more »

Who wants to disrupt R training and R education?

July 28, 2014
By
Who wants to disrupt R training and R education?

Using EdTech applications as an academic, R trainer or training company is no longer a unique selling proposition, but a must-have commodity. In this post, we introduce the new DataCamp course creation...

Read more »

Analyzing package dependencies and download logs from Rstudio, and a start towards building an R recommendation engine

July 27, 2014
By
Analyzing package dependencies and download logs from Rstudio, and a start towards building an R recommendation engine

In this post, I will focus on the analysis of available R packages and the behavior of its users. In essence, this involves looking at the data in two...

Read more »

Shifting Centre of Gravity of US Fossil Fuel Production

July 27, 2014
By
Shifting Centre of Gravity of US Fossil Fuel Production

My research Fracking Growth investigates the localised impacts of the current oil and gas production boom in the US. The boom is triggered by extraction of oil and gas deposits,...

Read more »

Guns are Cool – States

July 26, 2014
By
Guns are Cool – States

Last week I looked at time effects of the shootingtracker database. This week I will look at the states. Some (smaller) states never made it on the database. Other...

Read more »

User Request – Shepards Classification of Sediments

July 25, 2014
By
User Request – Shepards Classification of Sediments

I received a request overnight on how to render the Shepard’s classification diagram, which is an alternative to the USDA’s textural soil classification. This is quite simple to produce...

Read more »

A Few Notes on UseR! 2014

July 25, 2014
By
A Few Notes on UseR! 2014

It has been a month since the UseR! 2014 conference, and I'm probably the last one who writes about it. UseR! is my favorite conference because it is technical...

Read more »

library() vs require() in R

July 25, 2014
By
library() vs require() in R

While I was sitting in a conference room at UseR! 2014, I started counting the number of times that require() was used in the presentations, and would rant about...

Read more »

A package about nothing

July 25, 2014
By
A package about nothing

nothing is a package about nothing. The idea is that when you do require(nothing) you express that you don't need anything, and therefore nothing assumes you...

Read more »

Learning from alternative R engines at DSC 2014

July 25, 2014
By
Learning from alternative R engines at DSC 2014

I was honoured to be invited earlier this month to the Directions of Statistical Computing meeting in Brixen, Italy. DSC is one of two meetings run by the R...

Read more »

Things to try after useR! – Part 1: Deep Learning with H2O

July 25, 2014
By
Things to try after useR! – Part 1: Deep Learning with H2O

Annual R User Conference 2014The useR! 2014 conference was a mind-blowing experience. Hundreds of R enthusiasts and the beautiful UCLA campus, I...

Read more »

Combining pages of JSON data with jsonlite and plyr

July 24, 2014
By
Combining pages of JSON data with jsonlite and plyr

The jsonlite package is a JSON parser/generator for R which is optimized for pipelines and web APIs. It is used by...

Read more »

Announcing Shiny Server Pro 1.2

July 24, 2014
By
Announcing Shiny Server Pro 1.2

RStudio is very pleased to announce the general availability of Shiny Server Pro 1.2. Download a free 45 day evaluation of Shiny Server Pro 1.2 Shiny Server Pro 1.2...

Read more »

Interactive visualization of non-linear logistic regression decision boundaries with Shiny

Interactive visualization of non-linear logistic regression decision boundaries with Shiny

(skip to the shiny app) Model building is very often an iterative process that involves multiple steps of choosing an algorithm and hyperparameters, evaluating that model / cross validation,...

Read more »

An ISO Standard for R (just kidding)

July 24, 2014
By

IST/5, the British Standards’ committee responsible for programming languages in the UK, has a new(ish) committee secretary and like all people in a new role wants to see a...

Read more »

Agent Based Models and RNetLogo

July 24, 2014
By
Agent Based Models and RNetLogo

by Joseph Rickert If I had to pick just one application to be the “killer app” for the digital computer I would probably choose Agent Based Modeling (ABM). Imagine...

Read more »

Six of One (Plot), Half-Dozen of the Other

July 24, 2014
By
Six of One (Plot), Half-Dozen of the Other

This is a guest post by Randy Zwitch (@randyzwitch), a digital analytics and predictive modeling consultant in the Greater Philadelphia area. Randy blogs regularly about Data Science and related technologies...

Read more »

What shall we talk about at ESA?

July 24, 2014
By
What shall we talk about at ESA?

ESA is just around the corner, and many of us are gearing up and trying to figure out a schedule to cover all the talks...

Read more »

Left-handed catchers

July 23, 2014
By
Left-handed catchers

Benny Distefano – 1985 Donruss #166 (source: baseball-almanac.com) We are approaching the twenty-fifth anniversary of the last time a left-handed throwing catcher appeared behind the...

Read more »

Coherent population forecasting using R

July 23, 2014
By
Coherent population forecasting using R

This is an example of how to use the demography package in R for stochastic population forecasting with coherent components. It is based on the papers by Hyndman and...

Read more »

magrittr: Simplifying R code with pipes

July 23, 2014
By
magrittr: Simplifying R code with pipes

R is a functional language, which means that your code often contains a lot of ( parentheses ). And complex code often means nesting those parentheses together, which make...

Read more »

Mideast Graph 3: Slate Middle East Friendship

July 23, 2014
By
Mideast Graph 3: Slate Middle East Friendship

Slate recently published a great info-graphic about Middle-East Relationships. It shows the relationships (Friend, Enemy, or Complicated) of 13 countries / organizations and the relationships between each pair. One...

Read more »

Making random draws from an arbitrarily defined pdf

July 23, 2014
By
Making random draws from an arbitrarily defined pdf

I recently found myself in need of a function to sample randomly from an arbitrarily defined probability density function. An excellent post by Quantitations shows how to accomplish this...

Read more »

Flood fill a region of an active device in R

July 23, 2014
By
Flood fill a region of an active device in R

The following is a function to "flood fill" a region on the active plotting device. Once called, the user will be asked to click on the desired target region....

Read more »

Uncovering the Preferences Shaping Consumer Data: Matrix Factorization

July 23, 2014
By
Uncovering the Preferences Shaping Consumer Data: Matrix Factorization

How do you limit your search when looking for a hotel? Those trying to save money begin with price. Members of hotel reward programs focus on their brand. At other...

Read more »

New data packages

July 23, 2014
By
New data packages

I’ve released four new data packages to CRAN: babynames, fueleconomy, nasaweather and nycflights13. The goal of these packages is to provide some interesting, and relatively large, datasets to demonstrate...

Read more »