2022 was my best year for running to date. In 2021, my goal was to run 2021 km. For 2022, I wanted to see if I could run 2500 km and also to run 50 HM-or-more distance runs. I managed both and ended the year on a total of 2734 km. I also bagged two […]
Tag: Rstats
Twitcher II: tweet frequency and top tweets
Another post looking at Twitter data in R. It follows this one and this one. I wanted to look again at my tweeting frequency over the 12 years on Twitter, but this time do it in a calendar view. Something like a GitHub commit calendar would be perfect. I have used a library for this […]
Any Time At All: tweet frequency around the clock
Please consider this a “supplementary analysis” to my previous post looking at the frequency of tweets from my personal account over the last 12 years. I was curious about what times I was active on Twitter (measured by when I tweeted). Others might be interested in a solution to look at this in R. The […]
Twitcher: tweet frequency over the years
At the time of writing, I have essentially left Twitter. It was a fun ride and without going into what’s happening there now, this is a good opportunity to look at my 12 years on the platform. Early in November, I downloaded my data and locked my Twitter account. This gave me all the data […]
Form and File: estimating running form in R
There are lots of ways for runners and cyclists to analyse training data. A key question most fitness enthusiasts want to know is “how am I doing?”. “How you are doing” is referred to as form. Unsurprisingly, form can be estimated in many ways. One method is using training stress scores (acute training load and […]
Get Miles: using treemap to visualise running distances
By 30th September 2022, I had clocked up a total of over 2000 km of running in 2022. This milestone was a good opportunity to look at how I got to this point. The code is shown below. First, we can make a histogram to look at the distance of runs. From this type of […]
Pledging My Time V: analysing race results in R
It’s been a while since I posted a breakdown of half marathon times. The last time seems to have been 2018. I decided to give my old code a clean-up and quickly crunched the numbers from the 2022 Kenilworth Half Marathon. First, the results: Briefly, the code below reads in a csv file of race […]
The Package: learning how to build an R package
I recently made my first R package and was asked how I did it. The answer of course was: I searched, read, and stumbled around until it was done. But having gone through the process I figured it was worthwhile summarising what I did and what I found tricky. First off, there are a ton […]
Tracking: announcing new R package TrackMateR
A short post to announce TrackMateR, a new R package to analyse TrackMate XML outputs. Code Instructions Background TrackMate is a plug-in for ImageJ which ships with Fiji. It’s essential for single particle tracking work, particularly for microscopy movies. For example, tracking the movement of fluorescent vesicles inside cells. A tracking session generates a TrackMate […]
Wordless Song: Benchmarking Wordle performance using R
A quick post about a puzzle called Wordle that is currently taking over the internet. It’s a mastermind-like game where the object is to guess an unknown 5-letter word. Puzzlers are encouraged to share their results after completing a puzzle. Here is an example for puzzle 192. So how do you know if your performance […]