getModel {jaggR}R Documentation

Get a JAGS model file

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

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

getModel("001")

[Package jaggR version 0.1.1 Index]