R/bayesx_runtime.R

Defines functions runtime

Documented in runtime

bayesx_runtime <- runtime <- function(x, model = 1L)
{
  x <- get.model(x, model)
  runtime <- NULL
  if(inherits(x, "bayesx")) {
    runtime <- x[[model]]$bayesx.run$runtime
      if(!is.null(runtime))
        print(runtime)
  }
  if(is.null(runtime))
    warning("runtime information is not available!")

  return(invisible(runtime))
}

Try the R2BayesX package in your browser

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

R2BayesX documentation built on Oct. 20, 2023, 3:01 p.m.