get_fp_GoF.Rd
Calculate the study and arm level survivor functions estimates from a fractional polynomial NMA. These estimates provide the basis for a goodness-of-fit graph when plotted along with the input data.
get_fp_GoF(fit, treatments, time = 1:24, bl.node = "mu", contrast.node = "d")
JAGS object with FP NMA fit.
Vector with character strings to label the treatments. Argument not currently used
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
The FP parameters to calculate the log-hazard curves for each survivor function are combinations bl.node + contrast.node
. Here, every study-specific baseline estimate is combined with the arm-specific contrast to obtain arm level NMA estimates.