Table of Contents

Bean Machine

The bean machine, also known as the quincunx or Galton box, is a device invented by Sir Francis Galton to demonstrate the law of error and the normal distribution.

Animation

The bean machine, also known as the quincunx or Galton box, is a device invented by Sir Francis Galton to demonstrate the law of error and the normal distribution. </ani>

R Code

library(animation)
saveHTML({
    ani.options(interval = 0.03, nmax = 213)
    quincunx()
}, img.name = "quincunx", htmlfile = "quincunx.html", ani.height = 600, 
    ani.width = 500, outdir = getwd(), title = "Demonstration of the Galton Box", 
    description = c("Balls falling through pins will show you the Normal\ndistribution."))

Video

http://www.vimeo.com/2013914