LogGaussianPrior: LogGaussianPrior function

View source: R/lgcpStructures.R

LogGaussianPriorR Documentation

LogGaussianPrior function

Description

A function to create a Gaussian prior on the log scale

Usage

LogGaussianPrior(mean, variance)

Arguments

mean

a vector of length 2 representing the mean (on the log scale)

variance

a 2x2 matrix representing the variance (on the log scale)

Value

an object of class LogGaussianPrior that can be passed to the function PriorSpec.

See Also

GaussianPrior, linkPriorSpec.list

Examples

## Not run: LogGaussianPrior(mean=log(c(1,500)),variance=diag(0.15,2))

lgcp documentation built on Oct. 3, 2023, 5:08 p.m.