101 posts
Detailed generative art in R

Thomas Lin Pedersen has been sharing his generative art pieces as of late: All my systems and visualisations are programmed in R, an open source programming language for statistics and data analysis. I’ve developed and released many tools that are central to my work, and help maintain others. Beautiful work. It really gets the imagination going for what else R can do. Check out Pedersen’s Instagram for more, and you...

0 1
Optimizing a Pokémon team with simulation

Emily Robinson recently took up Pokémon on Nintendo Switch: I recently started playing Pokémon again – “Pokémon Let’s Go Eevee” on the Nintendo Switch to be specific. In the classic Pokémon games, you have a team of 6 Pokémon that you use to battle against other trainers. In battles, type match-ups are very important, as some types of moves are “super effective” against other types. For example, fire moves are...

0 0
✚ How to Make a Polar Density Plot in R

With cyclical data, a circular format might be useful. Combine that with a smooth density to reduce noise, and you got yourself a plot. Read More

0 0
✚ How to Make Baseline Charts in R

By shifting the baseline to a reference point, you can focus a line chart on relative change, which can improve the visibility of smaller categories. Read More

0 0
✚ Select Your Weapon (The Process #48)

Some people love the Tidyverse in R. Others are less fond of it. For me, the more tools the better. Read More

0 0
What is R, what it was, and what it will become

Roger Peng provides a lesson on the roots of R and how it got to where it is now: Chambers was referring to the difficulty in naming and characterizing the S system. Is it a programming language? An environment? A statistical package? Eventually, it seems they settled on “quantitative programming environment”, or in other words, “it’s all the things.” Ironically, for a statistical environment, the first two versions did not...

0 0
Damian Lillard’s Game-Winner in Context

Damian Lillard of the Portland Trailblazers hit a crazy game-winner the other night. The game was tied, the clock was winding down, and Lillard pulled up from a thousand feet away for the win. Lillard’s straight-faced reaction was as good as the shot. Here’s how that shot matches up with all of the other threes Lillard has made during his playoff career: Just nuts. The R code, in case you’re...

0 0
✚ How to Make a Bump Chart in R

Visualize rankings over time instead of absolute values to focus on order instead of the magnitude of change. Read More

0 0
Hatching image effect in R

Here’s a fun thing to try in R. Jean Fan posted some code snippets where you can load an image file and the result uses a hatching technique to recreate the image with shapes. See also: Using the traveling salesman problem to re-sketch images. Tags: hatching, R

0 0
✚ How to Make Dot Timelines in R

For when you want to show the occurrence of events over time. Read More

0 0