Posts
In God we trust. All others must bring data.
Supreme Annotations
I had not intended this to be "Annotation Week" but there was a large, positive response to my annotation "hack" post. This reaction surprised me, then someone pointed me to this link and also noted that if having to do subtitles via hacks…
Spinning Cycles in Box #4 To Take the Pies out of Pi Day
\>UPDATE: time spent per task factor order was wrong before. now…
ggplot2で字幕 <br/>[Subtitles in ggplot2]
UPDATE: this capability (+ more) are being rolled into ggplot2-proper. PR will be absorbed into ggplot2 main branch soon. exciting, annotated times…
Some Light Image Processing & Creation With R
A friend, we'll call him Alen put a call out for some function that could take an image and produce a per-row "histogram" along the edge for the number of filled-in points. That requirement eventually scope-creeped to wanting "histograms"…
OS X XQuartz Vulnerability Test Using R
It's usually a good thing when my #rstats and infosec worlds collide. Unfortunately, this time it's a script that R folk running on OS X can use to see if they are using a version of XQuartz that has a nasty vulnerability in the framework…
Primary Plotting
My wife tricked me into a partial-weekend project to try to get all the primary/caucus results to-date on a map (the whole us). This is challenging since not all states use counties as boundaries for aggregate results. I'm still piecing…
Capturing wild widgets with webshot
NOTE: you won't need to use this function if you use the development version of…
A Tale of Two Charting Paradigms: Vega-Lite vs R+ggplot2
This post comes hot off the heels of the nigh-feature-complete release of vegalite (virtually all the components of Vega-Lite are now implemented and just need real-world user testing). I've had a few and seen a few questions about "why…
Create Vega-Lite specs & widgets with the vegalite package
Vega-Lite 1.0 was released this past week. I had been meaning to play with it for a while but I've been burned before by working with unstable APIs and was waiting for this to bake to a stable release. Thankfully, there were no new shows…
Working with the Clinton State Dept Email Dumps in R (Part 1: Graphs)
I put this together after experimenting with ggplot2 and ggnetwork earlier this week. The changes I made added svgPanZoom into the mix. Consequently, it has a widget in it, so it was just easier to embed the full R markdown HTML into an…