rprenormlogpost: Calculate log-posterior in R

Description Usage Arguments Value

View source: R/rprenormlogpost.R

Description

Computes the log-posterior for a non-centred random effect model with normal likelihood using the identity link and default priors

Usage

1
rprenormlogpost(testPars, stanObj)

Arguments

testPars

A named list of parameters to use

stanObj

A StanNetRun object to supply the data

Value

The value of the log-posterior distribution at the test parameters and data


augustinewigle/StanNet documentation built on July 21, 2020, 12:13 a.m.