BayesX Program-Runtimes
Function to extract running times of the BayesX binary.
bayesx_runtime(x, model = 1L)
x |
a fitted |
model |
integer, for which model the program-file should be printed, i.e. if |
The runtime of the BayesX binary returned form system.time
.
Nikolaus Umlauf, Thomas Kneib, Stefan Lang, Achim Zeileis.
## Not run: ## generate some data set.seed(111) n <- 500 ## regressor dat <- data.frame(x = runif(n, -3, 3)) ## response dat$y <- with(dat, 1.5 + sin(x) + rnorm(n, sd = 0.6)) ## estimate model b <- bayesx(y ~ sx(x), data = dat) ## now see the prg-file bayesx_runtime(b) ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.