Calculate the survivor function estimates for each study and arm. Calculate also the observed survival curves from the binned KM data to compare observed and estimated survivor functions.
1 2 | get_pwe_GoF(fit, cut.pts, data.arms, data.jg, time = 0:60, bl.node = "mu",
contrast.node = "d")
|
fit |
JAGS object with NMA fit. |
cut.pts |
Cut points for piecewise-constant model. |
data.arms |
Data frame with one line per study arm and columns study, treatment, studyn, treatmentn. |
data.jg |
List with input data set that was used in jags fit. |
time |
Vector of time-points at which S(t) functions are calculated. |
bl.node |
Charactor to identify the node in the jags model that identifies the baseline estimates (default is "mu"). |
contrast.node |
Charactor to identify the node in the jags model that identifies the baseline estimates (default is "d"). |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.