## Not run: ------------------------------------
#
# # define a simple model
# mu = free()
# sigma = lognormal(1, 0.1)
# x = rnorm(10)
# distribution(x) = normal(mu, sigma)
#
# m <- define_model(mu, sigma)
#
## ---------------------------------------------
## Not run: ------------------------------------
# # carry out mcmc on the model
# draws <- mcmc(m,
# n_samples = 100,
# warmup = 10)
## ---------------------------------------------
Run the code above in your browser using DataLab