View source: R/lgcpStructures.R
LogGaussianPrior | R Documentation |
A function to create a Gaussian prior on the log scale
LogGaussianPrior(mean, variance)
mean |
a vector of length 2 representing the mean (on the log scale) |
variance |
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))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.