#### ==> Warning: running the examples may take a few minutes! <== ####
### Univariate densities
## Normal(mean,1)
normlogdens <- function(x, mean) -(x-mean)^2/2
y <- ars(normlogdens, n = 10, mean = 3.0)
summary(y);
Run the code above in your browser using DataLab