get_draw | R Documentation |
Extract a list of parameter values for a single draw
get_draw(obj, iter, chain)
obj |
an object of class |
iter |
iteration number. |
chain |
chain number. |
A list with all parameter values of draw iter
from chain chain
.
ex <- mcmcsae_example(n=50)
sampler <- create_sampler(ex$model, data=ex$dat)
sim <- MCMCsim(sampler, burnin=100, n.iter=300, thin=2, n.chain=4, store.all=TRUE)
get_draw(sim, iter=20, chain=3)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.