Displaying 1 result from an estimated 1 matches for "karnaugh".
Did you mean:
harbaugh
2009 Sep 21
1
truth (karnaugh) table
Dear list,
I think I'm being dense, but I can't get combn or expand.grid to give
me this result. I need to generate a matrix of all 16 possible
sequences of 4 boolean elements,
0000
0001
0010
0011
0100
.....
1111
(in the end I'll have to assign NA to the 0s and some value to the 1s
but let's keep it simple)
OK, I could go the following route, but I feel like reinventing the