R/gettri.R

Defines functions gettri

gettri<-function(mymat, lower=T){
  if(lower){
  num<- mymat[lower.tri(mymat) ]
  return(num)
  }else{
  num<- mymat[lower.tri(mymat) ]
  return(num)
  }
}
MoisesExpositoAlonso/moiR documentation built on Dec. 24, 2021, 10:12 p.m.