Learn R Programming

pompp (version 0.1.3)

NormalPrior: Create a Normal prior object for model specification.

Description

Constructor for NormalPrior-class objects

Usage

NormalPrior(mu, Sigma)

Value

A NormalPrior object with adequate slots.

Arguments

mu

The mean vector for the Normal distribution.

Sigma

The covariance matrix for the Normal distribution.

Details

Matrix Sigma must be square and positive definite. Its dimensions must match mu's length.

See Also

prior

Examples

Run this code
NormalPrior(rep(0, 10), diag(10) * 10)

Run the code above in your browser using DataLab