search for: findsubsets2

Displaying 1 result from an estimated 1 matches for "findsubsets2".

Did you mean: findsubsets
2007 Sep 16
1
programming question
...0 1 0 58 0 2 0 1 1 78 0 2 2 2 0 219 2 2 0 1 0 In the first iteration, the first element 2 eliminates 8 and 26 because both contain number 2 in the last position (first line being shorter). The element 24 eliminates 51 and 78, and so on. `findSubsets2` <- function(element) { require(QCA) base3row <- getRow(rep(3,5), element, zerobased=TRUE) increment <- function(x, y) { a <- x for (i in 1:2) { a <- as.vector(outer(y, a, "+")) x <- c(x, a) } return...