Just love an excuse to do an animation... this map shows the location of Eurobasketball teams, with a gif highlighting the country of the team that won.
#rstats
Code: github.com/drjohnrussel...
Just love an excuse to do an animation... this map shows the location of Eurobasketball teams, with a gif highlighting the country of the team that won.
#rstats
Code: github.com/drjohnrussel...
Used the ggmap package to make an inset for the graph, and noticed that there seems to be two seasons of observations. Fun dataset, I'm curious whether the increase in cranes is an observer effect, or an actual increase!
#rstats
Code: github.com/drjohnrussel...
Used the ggmap package to make an inset for the graph, and noticed that there seems to be two seasons of observations. Fun dataset, I'm curious whether the increase in cranes is an observer effect, or an actual increase!
#rstats
Code: github.com/drjohnrussel...
I had heard about the age effect in chess, and wanted to see it for myself - took the top 20 chess players at each age to show how chess, like other sports, very much peaks (also, there are some old chess players still around!)
#rstats
Code: github.com/drjohnrussel...
I had heard about the age effect in chess, and wanted to see it for myself - took the top 20 chess players at each age to show how chess, like other sports, very much peaks (also, there are some old chess players still around!)
#rstats
Code: github.com/drjohnrussel...
Went into cleaning mode this week, filtering out common pantry ingredients and instructions to find the most common other calls for ingredients that are given.
#rstats
Code: github.com/drjohnrussel...
Went into cleaning mode this week, filtering out common pantry ingredients and instructions to find the most common other calls for ingredients that are given.
#rstats
Code: github.com/drjohnrussel...
The Henley Passport index is interesting because it allows ties, which was a nice challenge for a ranking plot using the ggflags package to see which passports allow one to travel to the most countries.
#rstats
Code: github.com/drjohnrussel...
The Henley Passport index is interesting because it allows ties, which was a nice challenge for a ranking plot using the ggflags package to see which passports allow one to travel to the most countries.
#rstats
Code: github.com/drjohnrussel...
We often think of distributions among categories, but spatial and temporal distributions are also important for exploration. It's also interesting to think, as a citizen science project, about issues of selection bias.
#rstats
Code: drjohnrussell.com/posts/2025-0...
We often think of distributions among categories, but spatial and temporal distributions are also important for exploration. It's also interesting to think, as a citizen science project, about issues of selection bias.
#rstats
Code: drjohnrussell.com/posts/2025-0...
I wondered if the maximum time that a song spent as a Number One Hit had changed over time. What is interesting is that different models tell different stories, with the GAM (blue) and LM (red) mostly agreeing, but the loess (green) being pulled down in the middle.
#rstats
I wondered if the maximum time that a song spent as a Number One Hit had changed over time. What is interesting is that different models tell different stories, with the GAM (blue) and LM (red) mostly agreeing, but the loess (green) being pulled down in the middle.
#rstats
I'm in Edinburgh for the fringe, so this was timely!
Many thanks to @nrennie.bsky.social for curating this dataset of Scottish Munros. Loch Ness & Loch Lochy serve as a dividing line because of the underlying fault system!
#rstats
Code: drjohnrussell.com/posts/2025-0...
I'm in Edinburgh for the fringe, so this was timely!
Many thanks to @nrennie.bsky.social for curating this dataset of Scottish Munros. Loch Ness & Loch Lochy serve as a dividing line because of the underlying fault system!
#rstats
Code: drjohnrussell.com/posts/2025-0...
Mapping our animal friends (and their repercussions) in NYC using NYCOpenData and the tigris and socrata #rstats packages. Interesting that it doesn't quite correlate.
github.com/drjohnrussel...
Mapping our animal friends (and their repercussions) in NYC using NYCOpenData and the tigris and socrata #rstats packages. Interesting that it doesn't quite correlate.
github.com/drjohnrussel...
Borrowing a dataset that my co-teacher uses, it is amazing to look at the ways in which exoplanets are discovered, and to understand that, within the astronomer's toolkit, different methods preference different exoplanets.
github.com/drjohnrussel...
Borrowing a dataset that my co-teacher uses, it is amazing to look at the ways in which exoplanets are discovered, and to understand that, within the astronomer's toolkit, different methods preference different exoplanets.
github.com/drjohnrussel...
W Gosset was only allowed to write if he did not include beer, Guinness, or their own surname - and as such, Student was born. In his first paper, he predicted the distribution of cells in 4 grids. Both graphed using #rstats
github.com/drjohnrussel...
W Gosset was only allowed to write if he did not include beer, Guinness, or their own surname - and as such, Student was born. In his first paper, he predicted the distribution of cells in 4 grids. Both graphed using #rstats
github.com/drjohnrussel...
H. Waite's data (1915) on whorls and loops on the right hands of 2000 people became a case for Pearson's work on independence.
I love how the most common number of loops or whorls is different than the most common number of both.
github.com/drjohnrussel...
H. Waite's data (1915) on whorls and loops on the right hands of 2000 people became a case for Pearson's work on independence.
I love how the most common number of loops or whorls is different than the most common number of both.
github.com/drjohnrussel...
In 1954 in 272 counties with the highest incidence of polio, the vaccine was tested, affecting ~1.6m elementary children.
There were two different designs, an RCT (using a placebo), and a matching study. Both succeeded.
Code: github.com/drjohnrussel...
In 1954 in 272 counties with the highest incidence of polio, the vaccine was tested, affecting ~1.6m elementary children.
There were two different designs, an RCT (using a placebo), and a matching study. Both succeeded.
Code: github.com/drjohnrussel...
William Farr tested many theories around the Cholera epidemic of 1849, including a seasonal effect using a time series in conjunction with meteorological data.
github.com/drjohnrussel...
William Farr tested many theories around the Cholera epidemic of 1849, including a seasonal effect using a time series in conjunction with meteorological data.
github.com/drjohnrussel...
The @ropensci.org rgho package lets you easily see and download Global Health Observatory data in #rstats. I found a few datasets on road traffic fatalities, showing that cars are most deadly... to other cars around the world.
github.com/drjohnrussel...
The @ropensci.org rgho package lets you easily see and download Global Health Observatory data in #rstats. I found a few datasets on road traffic fatalities, showing that cars are most deadly... to other cars around the world.
github.com/drjohnrussel...
While J. Kepler did not prove his third law (planet's orbital period^2 is proportional to semi-major axis^3) using data visualization, it pops in a log-log plot. #rstats using exoplanet data from @ropensci.org exoplanets package
github.com/drjohnrussel...
While J. Kepler did not prove his third law (planet's orbital period^2 is proportional to semi-major axis^3) using data visualization, it pops in a log-log plot. #rstats using exoplanet data from @ropensci.org exoplanets package
github.com/drjohnrussel...
J. Herschel made what @datavisfriendly.bsky.social points out as the earliest known scatter plot, using points and a smoothed curve to show that binary stars in Virgo were orbiting each other.
Code: github.com/drjohnrussel...
J. Herschel made what @datavisfriendly.bsky.social points out as the earliest known scatter plot, using points and a smoothed curve to show that binary stars in Virgo were orbiting each other.
Code: github.com/drjohnrussel...
It's easy using @ropensci.org's paleobioDB to find and plot Mesosaurus, a fossil important to the history of Plate Tectonics.
By showing the fossils on each side of the Atlantic, Wegener theorized existence of Pangea.
Code: github.com/drjohnrussel...
It's easy using @ropensci.org's paleobioDB to find and plot Mesosaurus, a fossil important to the history of Plate Tectonics.
By showing the fossils on each side of the Atlantic, Wegener theorized existence of Pangea.
Code: github.com/drjohnrussel...
A. Parent-Duchalet's systematic look at prostitution was influenced by earlier work looking pragmatically at sewers, illuminating well the QuantCrit perspective that data is very much not inherently neutral. (1/2)
Code: github.com/drjohnrussel...
A. Parent-Duchalet's systematic look at prostitution was influenced by earlier work looking pragmatically at sewers, illuminating well the QuantCrit perspective that data is very much not inherently neutral. (1/2)
Code: github.com/drjohnrussel...
Code: github.com/drjohnrussel...
Code: github.com/drjohnrussel...
W Playfair's innovative use of charts included smoothing data over time series in order to show general effects over time. A reproduction in #rstats shows comparison of wages, cost of wheat, and monarch.
Code: github.com/drjohnrussel...
W Playfair's innovative use of charts included smoothing data over time series in order to show general effects over time. A reproduction in #rstats shows comparison of wages, cost of wheat, and monarch.
Code: github.com/drjohnrussel...
El Pais' maps are without comparison, so for the chart I'm using @datavisfriendly.bsky.social's data in #rstats to recreate one of A. Guerry's maps of France. This one ranks departments of France by instruction.
Code: github.com/drjohnrussel...
El Pais' maps are without comparison, so for the chart I'm using @datavisfriendly.bsky.social's data in #rstats to recreate one of A. Guerry's maps of France. This one ranks departments of France by instruction.
Code: github.com/drjohnrussel...
There are no bird datasets in @datavisfriendly.bsky.social's HistData, but #rstats 4.5 release has Penguins! I imagine a lot of people will be doing PCA and such, but I hadn't seen an alluvial of the infamous Palmer Dataset.
github.com/drjohnrussel...
There are no bird datasets in @datavisfriendly.bsky.social's HistData, but #rstats 4.5 release has Penguins! I imagine a lot of people will be doing PCA and such, but I hadn't seen an alluvial of the infamous Palmer Dataset.
github.com/drjohnrussel...