pr_normal: Create an object representing a possibly multivariate normal...

View source: R/priors.R

pr_normalR 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 size of 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.


mcmcsae documentation built on Oct. 11, 2023, 1:06 a.m.