Adds sections of JAGS code for an MBNMA model that correspond to alpha parameters
write.timecourse.Rd
Adds sections of JAGS code for an MBNMA model that correspond to alpha parameters
Arguments
- model
A character string representing the MBNMA model in JAGS code
- fun
An object of class
"timefun"
generated (see Details) using any oftloglin()
,tpoly()
,titp()
,temax()
,tfpoly()
,tspline()
ortuser()
- intercept
A boolean object that indicates whether an intercept (written as
alpha
in the model) is to be included. If left asNULL
(the default), an intercept will be included only for studies reporting absolute means, and will be excluded for studies reporting change from baseline (as indicated innetwork$cfb
).- 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