rprepoislogpost: Calculate log-posterior in R

Description Usage Arguments Value

View source: R/rprepoislogpost.R

Description

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

Usage

1
rprepoislogpost(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.