This is indeed great. It made me consider if we should have a Subset type that contains an array and an integer that encodes the subset with its one bits. That would seems to alleviate the mutation issues that these combinatorics iterators have – iterating all the subsets of something would literally just be a matter of counting from zero to n!-1.
> On Apr 4, 2014, at 9:14 PM, John Myles White <[email protected]> wrote: > > This is really great, Doug. Would you be willing to share the raw Rmd source? > Fernando Perez wanted to show what your Rpubs document would look like in the > new native R implementation of IPython. > > -- John > >> On Apr 4, 2014, at 2:17 PM, Douglas Bates <[email protected]> wrote: >> >> In describing to statisticians some of the differences in approach between R >> and Julia programming I have used as examples the evaluation of the >> reference distribution for randomization tests comparing means for paired >> designs and for unpaired designs. The documents are >> >> http://rpubs.com/dmbates/15250 >> >> and >> >> http://nbviewer.ipython.org/gist/dmbates/9746197 >
