Blog Archives

Visualizing Survey Data : Comparison Between Observations

November 8, 2015
By
Visualizing Survey Data : Comparison Between Observations

Cybersecurity is a domain that really likes survey, or at the very least it has many folks within it that like to conduct and report on surveys. One recent survey on threat intelligence is in it’s second year, so it sets about comparing answers across years. Rather than go ingo the many technical/statistical issues with

Read more »

An Ephemeral Update to daylight()

November 2, 2015
By
An Ephemeral Update to daylight()

This occurrence of the bi-annual corruption of the space-time continuum (i.e. changing to/from standard/daylight time) in the U.S. caused me to make a slight change to the code from an older post. The daylight() function now auto-discovers the date and location information (via telize) from the caller, which means all you have to do to

Read more »

Less Drama, More Encoding

October 24, 2015
By
Less Drama, More Encoding

Junk Charts adeptly noted and fixed this excessively stylized chart from the WSJ this week: Their take on it does reduct the ZOMGOSH WE ARE DOOMED! look and feel of the WSJ chart: But, we can further reduce the drama by using a more neutral color encoding and encode both the # of outbreaks and

Read more »

Installing R on OS X – “100% Homebrew Edition”

October 22, 2015
By

In a previous post I provided “mouse-heavy” instructions for getting R running on your Mac. A few of the comments suggested that an “all Homebrew” solution may be preferable for some folks. Now, there are issues with this since getting “support” for what may be R issues will be very difficult on the official mailing

Read more »

Installing R on OS X

October 20, 2015
By
Installing R on OS X

I was in a conversation with an academic colleague (wicked smart dude) and the subject of installing R came up (NOTE: this will happen to you, too, if you ever have the misfortune to have a face-to-face convo with me ;-). They noted that getting up and running with R was not as seamless as

Read more »

Replicating NatGeo’s “Proper” Earthquake Map in R

October 4, 2015
By
Replicating NatGeo’s “Proper” Earthquake Map in R

I saw this post over at NatGeo over the weekend and felt compelled to replicate this: with ggplot2. Three shapefiles later and we have it close enough to toss into a post (and I really don’t believe the continent names are necessary). library(rgdal) library(ggplot2) library(ggthemes)   # grab these from http://rud.is/dl/quakefile.tgz   world <- readOGR("countries.geo.json",

Read more »

For Some Definition of “Directly” and/or “Contort”

September 30, 2015
By
For Some Definition of “Directly” and/or “Contort”

Junk Charts did a post on Don’t pick your tool before having your design and made a claim that this: “cannot be produced directly from a tool (without contorting your body in various painful locations)”. I beg to differ. With R & ggplot2, I get to both pick my tool and design at the same

Read more »

A Package Full o’ Pirates & Makin’ Interactive Pirate Maps in arrrrrRstats

September 19, 2015
By
A Package Full o’ Pirates & Makin’ Interactive Pirate Maps in arrrrrRstats

Avast, me hearties! It’s time four t’ annual International Talk Like a Pirate Day #rstats post! (OK, I won’t make you suffer continuous pirate-speak for the entire post) I tried to be a bit more practical this year and have two treasuRe chests for you to (hopefully) enjoy. A Package Full o’ Pirates I’ve covered

Read more »

A Better Way To Read Nest Data Into R

September 10, 2015
By

I glimpsed a post in the RSS feeds today on how to connect Nest data with a Shiny dashboard and was compelled to post a less brute-force way to get data from the Nest API. The authors of the Shiny+Nest post used system calls to curl and regular expression character vector operations to slice, dice

Read more »

Roll Your Own Stats and Geoms in ggplot2 (Part 1: Splines!)

September 8, 2015
By
Roll Your Own Stats and Geoms in ggplot2 (Part 1: Splines!)

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.

Read more »

Sponsors

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)