Learn R Programming

ProbBayes (version 1.1)

JAGS_script: JAGS Script for Common Models

Description

Model script for JAGS to fit a particular Bayesian model. Currently the possible models are "beta_binomial", "hier_normal", "hier_trajectory", "normal", "regression", "regression_cond_means", and "trajectory".

Usage

JAGS_script(model)

Arguments

model

name of the model

Value

A character string containing the model script