Increasingly, there is a desire to cluster observations based on how they change over time. Do they increase, decrease, stay the same? Are they consistently high, consistently low, or do they go up and down? Are some more complex in their changes than others?
Category Archives: Code
Ten Time-Saving R Hacks
The more coding I do, the more sensitive I become to inefficiency. Here are ten hacks I use regularly to try to minimize distractions and keep up my production pace.
Create Amazing Graph Visualizations Using D3.js
In a follow up to a previous post, I move my Game of Thrones graph into a really cool visualization in Javascript’s D3 library.
What Matters in Speed Dating?
I was interested in finding out what it was about someone during that short interaction that determined whether or not someone viewed them as a match. This is a great opportunity to practice simple logistic regression if you’ve never done it before.
Making Sense of the Game of Thrones Universe Using Community Detection Algorithms
Community detection can help identify a structure in a set of interactions, which has applications to organizational design, but can also be useful in other fields such as digital communications and crime investigation
Why choose between R and Python when you can choose both?
The reticulate package allows R and Python to work together — here’s a tutorial
Ten more random useful things in R you may not know about
I struggled to keep it to ten last time, so here’s ten more for you
Compose and play music in R with the Rmusic package
Introducing a fun, experimental package that allows you to compose simple musical tunes and play them in your R session
Animated storytelling using the Javascript D3 library
D3 is the most flexible data visualization tool available and allows you to create great data storytelling illustrations
Create Hans Rosling’s famous animated bubble chart in a single piped R command
A great little learning exercise that illustrates the range and flexibility of the R language