View source: R/print.DDPstar.R
print.DDPstar | R Documentation |
Default print method for objects fitted with function DDPstar()
.
## S3 method for class 'DDPstar'
print(x, ...)
x |
An object of class |
... |
Further arguments passed to or from other methods. Not yet implemented. |
A short summary is printed.
No return value, called for side effects
DDPstar
library(DDPstar)
data(dde)
dde$GAD <- dde$GAD/7 # GAD in weeks
set.seed(10) # For reproducibility
fit_dde <- DDPstar(formula = GAD ~ f(DDE, bdeg = 3, nseg = 20, pord = 2, atau = 1, btau = 0.005),
data = dde, mcmc = list(nburn = 20000, nsave = 15000, nskip = 1),
prior = list(a = 2, b = 0.5, aalpha = 2, balpha = 2, L = 20),
standardise = TRUE, compute.lpml = TRUE, compute.WAIC = TRUE, compute.DIC = TRUE)
fit_dde
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.