pr_normal {mcmcsae}R Documentation

Create an object representing a possibly multivariate normal prior distribution

Description

Create an object representing a possibly multivariate normal prior distribution

Usage

pr_normal(mean = 0, precision = 0, labels = NULL)

Arguments

mean

scalar or vector mean parameter.

precision

scalar, vector or matrix precision parameter.

labels

optional character vector with coefficient labels. If specified, it should have the same length as at least one of mean and precision, and in that case the normal prior with these parameters is assigned to these coefficients, while any coefficients not present in labels will be assigned a non-informative prior with mean 0 and precision 0.

Value

An environment representing the specified prior, for internal use.


[Package mcmcsae version 0.7.7 Index]