write.model: function to write bugs model (copied from R2WinBUGS)

Description Usage Arguments

View source: R/adhoc-imports.R

Description

function to write bugs model (copied from R2WinBUGS)

Usage

1
write.model(model, con = "model.bug", digits = 5)

Arguments

model

R / S-PLUS function containing the BUGS model in the BUGS model language, for minor differences see Section Details.

con

passed to writeLines which actually writes the model file

digits

number of significant digits used for WinBUGS input, see formatC


oslerinhealth/baker documentation built on May 22, 2021, 12:05 p.m.