Press "Enter" to skip to content

Creating Truth Tables in R

Holger von Jouanne-Diedrich wins a truth-telling contest two towns over:

A short one for today: in this post we will learn how to easily create truth tables with R and will contribute our code to the growing repository of Rosetta code. I hope that you will learn a few tricks along the way, so read on!

Read on for a short function which generates truth tables based on an expression. Very cool.