Learn R Programming

mcmcsae (version 0.6.0)

pr_fixed: Create an object containing information about a degenerate prior fixing a parameter to a fixed value

Description

Create an object containing information about a degenerate prior fixing a parameter to a fixed value

Usage

pr_fixed(value = 1, n = NULL, post = FALSE)

Arguments

value

value parameter of length 1 or n.

n

dimension, if known. For internal use only.

post

whether conditional posterior sampling function should be created. For internal use only.

Value

An environment with information about the prior and possibly conditional posterior distribution(s), to be used by other package functions.