bayesx_logfile | R Documentation |
Function to show the internal BayesX log-files.
bayesx_logfile(x, model = 1L)
x |
a fitted |
model |
integer, for which model the log-file should be printed, i.e. if |
The log-file returned from BayesX.
Nikolaus Umlauf, Thomas Kneib, Stefan Lang, Achim Zeileis.
bayesx
.
## 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 log-file
bayesx_logfile(b)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.