# create line_mcmcwide data for the package
library(mcmcdb)
load("line_mcmc_list.Rdata")
line_samples <- McmcdbWide(line_mcmc_list)
model_code <- paste(readLines("line.jag"), collapse = "\n")
line_samples@metadata <-
list(comment = "For use in the examples of package mcmcdb",
model_code = model_code)
save(line_samples, file="../../data/line_samples.rda")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.