get_pwe_S.Rd
Calculate the survivor functions estimated in piecewise-constant NMA model. The absolute S(t) estimates combining the estimated baseline survival from a reference trial (in the NMA) with the piecewise-constant hazard ratio estimates to construct the S(t) functions for each treatment.
get_pwe_S(
fit,
ref.std,
ref.arm,
treatments = NULL,
time = 0:24,
bl.node = "mu",
contrast.node = "d"
)
JAGS object with NMA fit.
Numeric identifier of reference study to use for baseline survival estimate.
Numeric identifier of arm in reference study to use for baseline survival estimate.
Vector with character strings to label the treatments. If NULL treatments extracted from fit
Vector of time-points at which S(t) functions are calculated.
Charactor to identify the node in the jags model that identifies the baseline estimates (default is "mu").
Charactor to identify the node in the jags model that identifies the baseline estimates (default is "d").
a data.frame
containing survivor function for each treatment