write.timecourse | R Documentation |
Adds sections of JAGS code for an MBNMA model that correspond to alpha parameters
write.timecourse(model, fun, intercept, positive.scale)
model |
A character string representing the MBNMA model in JAGS code |
fun |
An object of class |
intercept |
A boolean object that indicates whether an intercept (written
as |
positive.scale |
A boolean object that indicates whether all continuous mean responses (y) are positive and therefore whether the baseline response should be given a prior that constrains it to be positive (e.g. for scales that cannot be <0). |
timecourse |
A character object that contains JAGS code for the time-course component of the model |
A list of named elements: model
is a character vector of JAGS MBNMA
model code that includes alpha parameter components of the model
timecourse
is a character object that contains JAGS code for the
time-course component of the model, for which alpha will be indexed
correctly
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.