LogGaussianPrior {lgcp}R 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))

[Package lgcp version 2.0 Index]