Skip to content
Prev 132551 / 398506 Next

alternate storage options

useR's.

I am working with an algorithm in which I will need to create combinations
of all the points I have in a matrix.  When I have 2 variables, I simply use
expand.grid() to do this.  Sometimes I am faced with 3 or more variables and
if I run expand.grid(), R cannot process it due to the huge size.  Is there
any efficient way to workaround this? 

Thanks,
Derek