This is an updated version of the original post from February 22, 2017. This tutorial introduces contour plots, and how to plot them in ggplot2. What is a contour plot? Suppose you have a map of a mountainous region.
Some best practices for communicate data through visuals. Inspired by Claus Wilke's ["Fundamentals of Data Visualization"](https://clauswilke.com/dataviz).
JAGS is a language that allows you to run Bayesian analyses. It gets at the posterior by generating samples based on the posterior and statistical model. You’ll need to download and install JAGS.
Two youtube videos (embed)
You all know the drill – you’re asked to make predictions of a continuous variable, so you turn to your favourite supervised learning method to do the trick. But have you ever suspected that you could be after the wrong type of output before you even begin?
Generalized Additive Models To fit a GAM in R, we could use: the function gam in the mgcv package, or the function gam in the gam package. Differences between the two functions are discussed in the “Details” section of the gam documentation in the mgcv package.
UPDATE: For a clean implementation of mixture distributions, check out the distplyr R package. This tutorial introduces the concept of a mixture distribution. We’ll look at a basic example first, using intuition, and then describe mixture distributions mathematically.