
A function to create a Gaussian prior on the log scale
LogGaussianPrior(mean, variance)
a vector of length 2 representing the mean (on the log scale)
a 2x2 matrix representing the variance (on the log scale)
an object of class LogGaussianPrior that can be passed to the function PriorSpec.
GaussianPrior, linkPriorSpec.list
# NOT RUN {
LogGaussianPrior(mean=log(c(1,500)),variance=diag(0.15,2))
# }
Run the code above in your browser using DataLab