This post is about ggplot2 and dplyr packages, so let’s start with loading them: I can’t be the first person to make the following mistake: Can you spot the mistake in the code above? Look closely at the end of the first … Continue reading →

This post is about ggplot2 and dplyr packages, so let’s start with loading them: I can’t be the first person to make the following mistake: Can you spot the mistake in the code above? Look closely at the end of the first … Continue reading →

A huge change is coming to ggplot2 and you can get a preview of it over at Hadley’s github repo. I’ve been keenly interested in this as I will be fixing, finishing & porting coord_proj to it once it’s done. Hadley & Winston have re-built the ggplot2 with an entirely new object-oriented system called ggproto.

I was asked to write a R course for a group of innovative companies in the North of the Netherlands. The group of 12 people was a mix of engineers and programmers, and the course aimed at giving them a… See more ›

Time for another Twitter-inspired blog post this week, this time from a tweet by @JonKalodimos: Is there a way to do this in #rstats #ggplot2 https://t.co/kxWQFlYpbB— Jonathan Kalodimos (@JonKalodimos) August 27, 2015 I had seen and appreciated Ann’s post on her makeover of the main graphic in NPR’s story and did a quick mental check

Plotly has a new R API and ggplot2 library for making beautiful graphs. The API lets you produce interactive D3.js graphs with R. This post has five examples. Head to our docs to get a key and you can start making, embedding, and sharing plots. The code below produces our first plot. library(plotly) set.seed(100) d <- diamonds plot_ly(d, x = carat,

This post was motivated by this article that discusses the graphics and statistical analysis for a two treatment, two period, two sequence (2x2x2) crossover drug interaction study of a new drug versus the standard. I wanted to write about implementing those graphics and the statistical analysis in R. This post is devoted to the different

Despite having shown various ways to overcome D3 cartographic envy, there are always more examples that can cause the green monster to rear it’s ugly head. Take the Voronoi Arc Map example. For those in need of a primer, a Voronoi tesslation/diagram is: …a partitioning of a plane into regions based on distance to points

e-mails with the latest R posts.

(You will not see this message again.)