Postagens de Rogue Scholar

language
Publicados in quantixed

My activity on twitter revolves around four accounts. I try to segregate what happens on each account, and there’s inevitably some overlap. But what about overlap in followers? What lucky people are following all four? How many only see the individual accounts? It’s quite easy to look at this in R. So there are 36 lucky people (or bots!) following all four accounts.

Publicados in quantixed

I read about Antonio Sánchez Chinchón’s clever approach to use the Travelling Salesperson algorithm to generate some math-art in R. The follow up was even nicer in my opinion, Pencil Scribbles. The subject was Boris Karloff as the monster in Frankenstein. I was interested in running the code (available here and here), so I thought I’d run it on a famous scientist.

Publicados in quantixed

I recently got a new GPS running watch, a Garmin Fēnix 5. As well as tracking runs, cycling and swimming, it does “activity tracking” – number of steps taken in a day, sleep, and so on. The step goals are set to move automatically and I wondered how it worked. With a quick number crunch, the algorithm revealed itself. Read on if you are interested how it works. The watch started out with a step target of 7500 steps in one day.

Publicados in quantixed

Another post using R and looking at Twitter data. As I was typing out a tweet, I had the feeling that my vocabulary is a bit limited. Papers I tweet about are either “great”, “awesome” or “interesting”. I wondered what my most frequently tweeted words are. Like the last post you can (probably) do what I’ll describe online somewhere, but why would you want to do that when you can DIY in R? First, I requested my tweets from Twitter.

Publicados in quantixed

Caution: this post is for nerds only. I watched this numberphile video last night and was fascinated by the point pattern that was created in it. I thought I would quickly program my own version to recreate it and then look at patterns made by more points. I didn’t realise until afterwards that there is actually a web version of the program used in the video here. It is a bit limited though so my code was still worthwhile.

Publicados in quantixed

I use a Garmin 800 GPS device to log my cycling activity. including my commutes. Since I have now built up nearly 4 years of cycling the same route, I had a good dataset to look at how accurate the device is. I wrote some code to import all of the rides tagged with commute in rubiTrack 4 Pro (technical details are below). These tracks needed categorising so that they could be compared.