plan_pwe.Rd
Creates a fractional polynomial model plan
plan_pwe(
model.pars,
bth.model = c("FE", "RE"),
ref.std,
nma.ref.trt,
engine = "rjags",
data.type = "GSD",
feprior_mean = 0,
feprior_prec = 1e-04,
descr = "Piecewise Exponential model",
descr_s = "PWE",
n.chains = NULL,
n.iter = NULL,
n.burnin = NULL,
n.thin = NULL,
bth.prior = NULL,
rsd = 13579,
model.file = NULL,
...
)
A named list
containing `cut.pts` when using GSD
One of "FE" or "RE"
A string containing the reference study
A string containing the reference treatment
Only `rjags` currently supported
Only "GSD" supported
A numeric
value representing feprior_mean (default 0)
A numeric
value representing feprior_prec default 0.0001
A character
string to describe the model
Short description
A numeric
value representing n.chains
A numeric
value representing n.iter
A numeric
value representing n.burnin
A numeric
value representing n.thin
A list
containing type & distr. Only required if bth.model == "FE"
A numeric
representing seed to be set
Path to BUGS file. If NULL file name will be built from input parameters and extracted from BUGScode folder if present
any other named arguments must match arguments names from dic.samples
or jags
functions
A list containing model, engine, analysis and model params