R/pairwise.product.R

Defines functions pairwise.product

pairwise.product <-
function(x)
{
  p <- ncol(x)
  product <- combn(seq_len(p), 2L, function(i) x[, i[1L]] * x[, i[2L]])
  product
}

Try the lmeVarComp package in your browser

Any scripts or data that you put into this service are public.

lmeVarComp documentation built on May 2, 2019, 8:55 a.m.