model_run.bayesian: Run a Bayesian model

View source: R/analyze.r

model_run.bayesianR Documentation

Run a Bayesian model

Description

This internal function runs a Bayesian model and returns the results. Each run uses a single chain/core.

Usage

model_run.bayesian(chain.id, formula.parsed, model.functions)

Arguments

chain.id

A unique ID to assign to the chain.

formula.parsed

The parsed formula object.

model.functions

The model object to run on the data.

Value

A return list that includes both the full model and the 'stanfit' component.


jacobaro/danalyze documentation built on Oct. 20, 2022, 8:09 a.m.