## create a numeric array
x.cont <- array(runif(60),dim=c(10,6))
## Not run: x.cont
## find binary representation of array
x.bin <- binarize.array(x.cont)
## Not run: x.bin
## use gap statistic to filter insufficiently variable rows
x.gap <- binarize.array(x.cont,use.gap=TRUE)
## Not run: x.gap
Run the code above in your browser using DataLab