R/main.R

dregar2 <- function  ( data,  da = 0,  ar = 0 ,  
                      mselection  =  4       ,
                      normalize = FALSE      ,  
                      penalized = TRUE      ,  
                      iteration = 15) 
{ 
  result = regarma(x = data[,-c(1,2)],y = data[,2],
                   ar = da , ma = ar,
                   normalize = normalize , debug = 0,
                   rep = iteration , pen = penalized,
                   criteria = mselection 
  )
  
  return(result)
} 

Try the DREGAR package in your browser

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

DREGAR documentation built on May 2, 2019, 7:59 a.m.