R/cocoSimJulia.R

Defines functions cocoSimJulia

cocoSimJulia <- function(type, order, par, length, xreg){
  addJuliaFunctions()
  
  if (is.null(xreg)){
    par_use <- c(par[2:length(par)], par[1])
  } else {
    par_use <- par
  }
  
  return(JuliaConnectoR::juliaCall("cocoSim", type, order, par_use, length, xreg))
}

Try the coconots package in your browser

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

coconots documentation built on Oct. 1, 2023, 5:06 p.m.