gravatar

a_pear_9

alan pearse

Recently Published

Using the visNetwork package to make interactive plots of networks in R
This is a short tutorial on visualising (Bayesian) networks in R using the wonderful visNetwork package.
Principle components analysis on images
Principle components analysis is a useful technique for clustering data and transforming it into several mutually orthogonal dimensions. Here, we apply it to multiband images. We demonstrate it using an image of the lovely cat, Pepper.
Sampling from weird probability distributions
An illustration of a grid-based approach to sampling from wonky probability distributions in R
Writing code that writes itself
A short tutorial document on constructing code as a string and then executing it with eval(parse(text = ...)).
rwalkable vignette
for presentation