Articles by statnamara

Animating goals in R using ggsoccer and gganimate.

May 9, 2020 | 0 Comments

After seeing this blog post from Matt Dray, and this github repo from Devin Pleurer, I knew what my next blog post was going to be. My last post was my first foray into gganimate, and this will be my first look at the ggsoccer package. Let’s get started. ...
[Read more...]

Learning gganimate with the LastFM API

April 12, 2020 | 0 Comments

I’m one of the few people that actually still has – and uses – a Last.fm account. I say still, I’m one of the few who ever had one. I’ve been playing around with some APIs for the first time lately and thought I’d check out the ...
[Read more...]

Austin vs Austin

February 26, 2020 | 0 Comments

I can’t quite remember when I came up with the idea for this one, but I have a feeling this was a 3AM idea. I know the title doesn’t tell you much. I’m not talking about a Kramer Vs. Kramer reboot. Stone Cold Steve Austin isn’t ...
[Read more...]

Simulating football games in R using xG values

February 11, 2020 | 0 Comments

In this blog post I will be adapting some code from the wonderful FC R Stats, a great football statistics resource – be sure to check out their tutorial for more detail on how to compose something like this. This post focuses a lot on writing functions in R, so check ...
[Read more...]

Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)