| writeModel | R Documentation | 
The writeModel function helps to select the proper model to be
contained in the 'model.file' for MCMC simulation based on users'
specifications.
writeModel(outcome, model, type, model.file, data)
outcome | 
 type of outcome that needs to be specified. For binary, continuous and count data, 'bin', 'ctns' and 'count' need to be specified, respectively.  | 
model | 
 type of model that needs to be specified. There are 14 options: 'std.norm','std.dt', 'reg.norm','reg.dt','std.ta','std.mv','reg.ta','reg.mv','std','std.unif','std.hc','reg', 'reg.unif','reg.hc'.  | 
type | 
 model type—either fixed-effects("fix") or random-effects model("ran") needs to be specified.  | 
model.file | 
 file containing the appropriate model selected by user  | 
data | 
 a data list containing information on observed data (including moderators).  | 
Tao Ding Gianluca Baio
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.