write_model_Reg_discrete_predictor_NoNest | R Documentation |
write_model_Reg_discrete_predictor_NoNest
automatically generates model file according to
model_options
write_model_Reg_discrete_predictor_NoNest(
Mobs,
prior,
cause_list,
use_measurements,
ppd = NULL,
use_jags = FALSE
)
Mobs |
Measurement data in the form of |
prior |
Prior specification from |
cause_list |
A list of latent status names (crucial for building templates;
see |
use_measurements |
"BrS", or "SS" |
ppd |
Default is NULL; set to TRUE for posterior predictive checking |
use_jags |
Default is FALSE; set to TRUE if want to use JAGS for model fitting. |
a long character string to be written into .bug file.
insert_bugfile_chunk_noreg_meas for inserting .bug file chunk for measurements (plug-and-play); insert_bugfile_chunk_noreg_etiology for inserting .bug file chunk for distribution of latent status (etiology).
Other model generation functions:
write_model_NoReg()
,
write_model_Reg_Nest()
,
write_model_Reg_NoNest()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.