Skip to content
Prev 206323 / 398506 Next

Fixed size permutations

Small modification below.
Peter Ehlers wrote:
keeprow <- apply(d, 1, function(x) {length(unique(x)) > 1})

is probably more efficient and certainly more transparent.

  -Peter Ehlers