Adds sections of JAGS code for an MBNMA model that correspond to beta parameters
write.beta.RdAdds sections of JAGS code for an MBNMA model that correspond to beta parameters
Arguments
- model
A character object of JAGS MBNMA model code
- timecourse
A character object representing the time-course used in the MBNMA model
- fun
An object of class
"timefun"generated (see Details) using any oftloglin(),tpoly(),titp(),temax(),tfpoly(),tspline()ortuser()- UME
Can take either
TRUEorFALSE(for an unrelated mean effects model on all or no time-course parameters respectively) or can be a vector of parameter name strings to model as UME. For example:c("beta.1", "beta.2").- class.effect
A list of named strings that determines which time-course parameters to model with a class effect and what that effect should be (
"common"or"random"). For example:list(emax="common", et50="random").