R/ANDNet.R

ANDNet <-
function(net, th=0){
  net = abs(net)
  tmp = net > th
  tmp = tmp * t(tmp)
  return(tmp)
}

Try the XMRF package in your browser

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

XMRF documentation built on May 2, 2019, 8:18 a.m.