All functions |
|
---|---|
Creates a fractional polynomial model plan |
|
create_jags_init. Helper function to create jags init list dependant on length on chains provided |
|
Creates a minimal project template for selected model type |
|
Helper function to extract BUGS files for given input parameters |
|
gemtcPlus: A package for performing NMA in R |
|
First order fractional polynomial |
|
Calculate the study and arm level survivor functions estimates from a 1st order fractional polynomial NMA. These estimates provide the basis for a goodness-of-fit graph when plotted along with the input data. |
|
Calculate the time-dependent hazard ratios obtained from fitting a first order fractional polynomial model. |
|
Calculate the survivor functions estimated in a 1st order fractional polynomial NMA model. The absolute S(t) estimates combining the estimated baseline survival from a reference trial (in the NMA) with the fractional polynomial (log)hazard ratio estimates to construct the S(t) functions for each treatment. |
|
Second order fractional polynomial |
|
Calculate the study and arm level survivor functions estimates from a 2nd order fractional polynomial NMA. These estimates provide the basis for a goodness-of-fit graph when plotted along with the input data. |
|
Calculate the time-dependent hazard ratios obtained from fitting a second order fractional polynomial model. |
|
Calculate the survivor functions estimated in a 2nd order fractional polynomial NMA model. The absolute S(t) estimates combining the estimated baseline survival from a reference trial (in the NMA) with the fractional polynomial (log)hazard ratio estimates to construct the S(t) functions for each treatment. |
|
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. |
|
Calculate the time-dependent hazard ratios obtained from fitting a fractional polynomial model (first or second order). |
|
Calculate the survivor functions estimated in a fractional polynomial NMA model. The absolute S(t) estimates combining the estimated baseline survival from a reference trial (in the NMA) with the fractional polynomial (log)hazard ratio estimates to construct the S(t) functions for each treatment. |
|
Extract model information and fit statistics from a list of fractional polynomial NMAs. |
|
Extract the treatment contrasts vs the reference in the network |
|
Calculate correlations between the contrast estimates for multi-dimensional effect estimates for all treatments in a FP NMA. |
|
Extract model information and fit statistics from NMA fit in jags of a fractional polynomial model. |
|
Utility function to return jags data and model for reporting (e.g. in appendix) |
|
Utility function to extract effect estimates "other treatments vs new" from gemtc fit. |
|
Utility function to extract effect estimates "new vs other treatments" from gemtc fit. |
|
Utility function to extract probabilities of new treatment being better from gemtc fit (e.g. P(HR<1) for HRs new vs other). |
|
Utility function to extract summary stats from mtc.result object. |
|
Extract edges information ("from-to matrix") from network data frame. |
|
Utility function to get segments (as character strings) from vector with cutpoints |
|
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. |
|
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. |
|
Extract model information and fit statistics from a list of piecewise-exponential NMA fits. |
|
Utility function to extract HR estimates from piece-wise exponential model fit in (format needed for ggplot) |
|
Utility function: convergence diagnostics for piece-wise constant models |
|
Extract model information and fit statistics from NMA fit in jags of a piecewise-exponential model. |
|
Utility function to get segments (as character strings) from vector with cutpoints |
|
Utility function for pre-processing: prepare jags input data for FP model. |
|
Utility function for pre-processing: prepare jags input data for PWE model. |
|
Lists all available model files inside the inst directory |
|
Helper function to extract named elements from a list to match the arguments of supplied function |
|
Utility function providing pairwise probability of being better (col vs row). (Adapted from gemtc::relative.effect.table()). |
|
Takes input data and a model plan and passes to the model engine specified. Current supported engines are the `gemtc` package (using mtc.model & mtc.run) or `rjags` (using jags and dic.samples functions) |
|
NMA data pre-processing |
|
Creates a model plan for binary data |
|
Creates a fractional polynomial model plan |
|
Creates a model plan for hazard ratio |
|
Creates a fractional polynomial model plan |
|
Produce ggplot from HR values in data.frame (medians vs time for several trts, all in one plot) |
|
Utility function to do forest plot from data.frame with effect estimates. |
|
Transforms binary data |
|
Transforms grouped survival data |
|
Transforms hazard ratio data |
|
Calculate the cumulative hazard over [0, tmax] from piecewise constant model. |
|
Calculate the survivor function S(t) from a piecewise exponential model. |