get_pwe_GoF: Calculate the survivor function estimates for each study and...

Description Usage Arguments

Description

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.

Usage

1
2
get_pwe_GoF(fit, cut.pts, data.arms, data.jg, time = 0:60, bl.node = "mu",
  contrast.node = "d")

Arguments

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").


bashlee/test documentation built on June 22, 2019, 12:42 a.m.