R/koyckDlm.default.R

Defines functions koyckDlm.default

#' @export
koyckDlm.default <-
  function(x , y , intercept = TRUE ){
    
    options(warn=-1)
    
    if ((is.vector(x)== FALSE) | (is.vector(y)== FALSE)){
      stop("Data series x and y both must be in a vector format!")
    }
  
    res <- koyckDlm.main(x = x , y = y , intercept = intercept)
    res$call <- match.call()
    class(res) <- c("koyckDlm" , "dLagM")
    res
    
  }

Try the dLagM package in your browser

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

dLagM documentation built on Oct. 2, 2023, 9:07 a.m.