R

52 posts
Friends sitcom transcript dataset

For your analytical perusal, Emil Hvitfeldt provides ten seasons’ worth of scripts from the Friends sitcom in an easy-to-use R package: The goal of friends to provide the complete script transcription of the Friends sitcom. The data originates from the Character Mining repository which includes references to scientific explorations using this data. This package simply provides the data in tibble format instead of json files. The ten seasons ran from...

0 0
✚ How to Untangle a Spaghetti Line Chart (with R Examples)

Put multiple time series lines on the same plot, and you quickly end up with a mess. Here are practical ways to clean it up. Read More

0 0
Using a slime mold simulation for generative art

Slime mold are single-celled organisms that can work together to form multicellular structures. Antonio Sánchez Chinchón used slime mold simulations generate these images: This post talks about a generative system called Physarum model, which simulates the evolution of a colony of extremely simple organisms that, under certain environmental conditions, result into complex behaviors. Apart from the scientific interest of the topic, this model produce impressive images like this one, that...

0 0
✚ How to Make a Spiral Chart in R

Using a spiral might not be the best way to encode data. But here's how to do it anyway. Just in case. Read More

0 0
✚ How to Make Animated Histograms in R, with ggplot and gganimate

Make them move to show a shift in distributions over time. Read More

0 0
✚ How to Visualize Anomalies in Time Series Data in R, with ggplot

Quickly see what's below and above average through the noise and seasonal trends. Read More

0 0
How to Flatten the Curve, a Social Distancing Simulation and Tutorial

Using R, we look at how your decreased interaction with others can help slow the spread of infectious diseases. Read More

0 0
✚ How to Visualize Hierarchical Graphs in R, with ggraph and tidygraph

Network graphs are a good way to find structure and relationships within hierarchical data. Here are several ways to do it. Read More

0 0
Scripts from The Office, the dataset

The decade is almost done. You’re sitting there and you’re thinking: “I wish I could easily access the scripts from all seasons of The Office so that I could analyze the dialogue and relationships between characters.” Well, your wish is granted. Bradley Lindblad stuck all the scripts in an R package. It’s called schrute. Take that, 2019. Tags: R, scripts, The Office

0 0
✚ How to Make a Grid Map with Histograms in R, with ggplot

Layout multiple charts in a single view. Then adjust the scales appropriately for maximum comparability and a unified graphic. Read More

0 0