set_prior_val {baggr}R 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


[Package baggr version 0.6.4 Index]