Miscellaneous Debris

Approximations of Pi: A Random Walk though the Beauty of Pi

Various methods to approximate and visualise the digits of pi using the R computing language for statistics. The apparent randomness of the decimal expression of Pi is a source for beautiful visualisations.

Topological Tomfoolery in R: Plotting a Möbius Strip

Topology is the silly putty of mathematics. One of the strangest shapes in topology is the Möbius strip. This strip is a surface with only one side. This article shows how the visualise this shape in R using the RGL package.

Writing academic articles using R Sweave and LaTeX

One of my favourite activities in R is using Markdown to create business reports. Most of my work I export to MS Word to communicate analytical results with my colleagues. For my academic work and eBooks, I prefer LaTeX to produce… Continue Reading →

Pacific Island Hopping using R and iGraph

Use R as your travel guide and plan your next Pacific island hopping holiday with the igraph package. This code analyses flight routes and finds routes.

Using the iGraph package to Analyse the Enron Corpus

Instructions on how to use R and iGraph to analyse the Enron email corpus. This article describes how to research relationships between employees.

Tic Tac Toe Part 3: The Minimax Algorithm

In two previous posts, I presented code to teach R to play the trivial game of Tic Tac Toe. I thought this was an unbeatable algorithm. Alas, a comment from Alberto shattered my pride as he was able to beat… Continue Reading →

The Sierpinski Triangle: Visualising infinity in R

Using the R programming language to draw the Sierpinski triangle fractal using the chaos game. Drawing a fractal using random numbers.

R-Cade Games: Simulating the Legendary Game of Pong

Playing arcade games in R? Introducing pong, the first R-cade game. This code simulates the legendary game of pong in your favourite data science language.

Tic Tac Toe War Games: The Intelligent Minimax Algorithm

Using the R language to build a Tic Tac Toe War Games simulator. Teach your computer to play a perfect game of Naughts and Crosses.

Data Pseudo-Science: Developing a Biorhythm Calculator

Data science is a pretty serious occupation. What about data pseudoscience? This blog post shows how to calculate your biorhythm using R.

© 2018 The Devil is in the Data — Powered by WordPress

Theme by Anders NorenUp ↑

Subscribe to The Devil is in the Data

Enter your email address to receive notifications of new articles by email.

%d bloggers like this: