Continue Sampling
This function takes a bamlss
object which was created using a sampler function
and continues sampling from the last state of the MCMC chain.
continue(object, cores = NULL, combine = TRUE, sleep = NULL, results = TRUE, ...)
object |
A |
cores |
An integer specifying the number of cores that should be used for the sampler
function. This is based on function |
combine |
Should the new samples be combined with the old samples into one
|
sleep |
Time the system should sleep before the next core is started. |
results |
If a results function was used to create the |
... |
Arguments passed to the sampler function. |
A bamlss
object.
## Not run: ## Simulate and run model with MCMC. set.seed(123) d <- GAMart() b <- bamlss(num ~ s(x1) + s(x2) + s(x3) + te(lon,lat), data = d) ## Continue sampling. a <- continue(b) ## Plot all samples. plot(a, which = "samples") ## End(Not run)
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.