Class for the MCMC output
dataa list where each entry contains the samples of a (vector-valued) parameter in a vector/matrix in the format (number of samples) x (dimension of the parameter).
optionsthe McmcOptions which have been used
| 1 2 3 4 5 6 7 8 9 10 | # Saving the mcmc options which were used to generate the samples
options <- McmcOptions(burnin=10000,
                       step=2,
                       samples=10000)
# Create an object of class 'Samples'
# Here the parameters 'alpha' and 'beta' are randomly generated. Of coure in 
# a real example these would come as an output from mcmc procedures
samples <- Samples(data=list(alpha=rnorm(10000),beta=rnorm(10000)),
                   options=options)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.