R

Snowflakes (generative)

Load packages library(plotrix) library(gsl) library(RColorBrewer) library(data.table) Set the background of the graphics device to black and generate a vector of colours. par(bg = "black") colours <- brewer.pal(10, "Set3") Make necessary functions A regular polygon of n sides By default, this function draws the polygon and returns a data.

Handling data frames the data.table way

A workshop on the usage of the data.table package in R

Making a personal (academic) website using Blogdown

Here, I used instructions from 2 different sources, 1) the blogdown website and 2) the documentation for the Hugo Academic theme. First install the Blogdown package in R: library(blogdown) Navigate to the directory where your website files will reside on your computer,

Small Animal Video Tracking for Activity and Path Analysis Using a Novel Open-Source Multi-Platform Application (AnimApp)

Experimental biological model system outcomes such as altered animal movement capability or behaviour are difficult to quantify manually. Existing automatic movement tracking devices can be expensive and imposing upon the typical environment of the …

Petitions in the UK Parliament

Are all petitions with at least 100,000 signatures debated in the UK parliament? In case you haven’t heard, there is a petition to withdraw the invitation for a state visit that Theresa May extended to Donald Trump.

Regex in R

A talk I gave at the R users group Oxford meeting