R/LiNGAM_times.R

Defines functions LiNGAM_times

LiNGAM_times <- function(X,Y,alpha=0.2){
  
  time1 = proc.time()
  outL = DirectLiNGAM_slow_Y(X,Y)
  time1 = (proc.time() - time1)[3]
  
  # time2 = proc.time()
  # outL = DirectLiNGAM_fast1(X)
  # time2 = (proc.time() - time2)[3]
  
  return(list(time1 = time1))
  
}
ericstrobl/RCI documentation built on May 29, 2022, 10:11 p.m.