getModel: Get a JAGS model file

Description Usage Arguments Value Examples

View source: R/getModel.R

Description

This function provides an easy way for readers to get the JAGS model files used in the book. The modelID is the 4-5 character identifier used in the book. For example to get 'model-001.bugs.R', you would use getModel("001").

Usage

1
getModel(modelID)

Arguments

modelID

a string containing a valid model ID

Value

a string containing the model. The intention is that this can be written to disk.

Examples

1
getModel("001")

jaggR documentation built on July 19, 2019, 5:05 p.m.

Related to getModel in jaggR...