R/combn2.R

Defines functions combn2

combn2 <-
  function(x){
    if (length(x)<2)
      return(x)
    else
      return(combn(x,2))
  }
ZhonghuiGai/groutable documentation built on Jan. 1, 2022, 9:12 p.m.