set_prior_val: Add prior values to Stan input for baggr

View source: R/prior_dist.R

set_prior_valR Documentation

Add prior values to Stan input for baggr

Description

Add prior values to Stan input for baggr

Usage

set_prior_val(target, name, prior, p = 1)

Arguments

target

list object (Stan input) to which prior will be added

name

prior name, like hypermean, hypersd, hypercor

prior

one of prior distributions allowed by baggr like normal

p

number of repeats of the prior, i.e. when P i.i.d. priors are set for P dimensional parameter as in "mu & tau" type of model


baggr documentation built on March 18, 2022, 7:02 p.m.