Friday, June 24, 2016

Rascal Triangle

A few early iterations of something produced by a short script in R. What is it? You may see it more clearly in some of its later stages of development.

Yes, it is Pascal's Triangle modulo 2 - I knew you would recognize it :). The R source for generating these images is here. Like other recent posts, this is another example of using R in some simple programming exercises, pretty much completely unrelated to its intended purpose as a language for statistical computing. A wile back, there was a post about using TinkerPlots, a data management software tool for young folk, to do something similar (more detailed instructions on drawing a general Pascal Triangle in TinkerPlots can be found in this article),