MBNMAtime0.2.4 package

Run Time-Course Model-Based Network Meta-Analysis (MBNMA) Models

add_index

Add follow-up time and arm indices to a dataset

binplot

Plot relative effects from NMAs performed at multiple time-bins

cumrank

Plot cumulative ranking curves from MBNMA models

default.priors

Sets default priors for JAGS model code

devplot

Plot deviance contributions from an MBNMA model

fitplot

Plot fitted values from MBNMA model

gen.parameters.to.save

Automatically generate parameters to save for a time-course MBNMA mode...

genmaxcols

Get large vector of distinct colours using Rcolorbrewer

genspline

Generates spline basis matrices for fitting to time-course function

get.closest.time

Create a dataset with a single time point from each study closest to s...

get.earliest.time

Create a dataset with the earliest time point only

get.latest.time

Create a dataset with the latest time point only

get.model.vals

Get MBNMA model values

get.prior

Get current priors from JAGS model code

get.relative

Calculates relative effects/mean differences at a particular time-poin...

getjagsdata

Prepares data for JAGS

getnmadata

Prepares NMA data for JAGS

goutSUA_CFB

Studies of treatments for reducing serum uric acid in patients with go...

inconsistency.loops

Identify comparisons in loops that fulfil criteria for node-splitting

mb.comparisons

Identify unique comparisons within a network (identical to MBNMAdose)

mb.make.contrast

Convert arm-based MBNMA data to contrast data

mb.network

Create an mb.network object

mb.nodesplit.comparisons

Identify comparisons in time-course MBNMA datasets that fulfil criteri...

mb.nodesplit

Perform node-splitting on a MBNMA time-course network

mb.run

Run MBNMA time-course models

mb.update

Update MBNMA to obtain deviance contributions or fitted values

mb.validate.data

Validates that a dataset fulfils requirements for MBNMA

mb.write

Write MBNMA time-course models JAGS code

MBNMAtime-package

MBNMAtime for Model-Based Network Meta-Analysis of longitudinal (time-...

nma.run

Run an NMA model

pDcalc

Calculate plugin pD from a JAGS model with univariate likelihood for s...

pipe

Pipe operator

plot.mb.predict

Plots predicted responses from a time-course MBNMA model

plot.mb.rank

Plot histograms of rankings from MBNMA models

plot.mbnma

Forest plot for results from time-course MBNMA models

predict.mbnma

Predict effects over time in a given population based on MBNMA time-co...

print.mb.network

Print mb.network information to the console

print.mb.predict

Print summary information from an mb.predict object

print.mb.rank

Prints a summary of rankings for each parameter

print.nodesplit

Prints basic results from a node-split to the console

print.relative.array

Print posterior medians (95% credible intervals) for table of relative...

radian.rescale

Calculate position of label with respect to vertex location within a c...

rank.mb.predict

Rank predictions at a specific time point

rank.mbnma

Rank parameters from a time-course MBNMA

rank

Set rank as a method

rankauc

Calculates ranking probabilities for AUC from a time-course MBNMA

ref.comparisons

Identify unique comparisons relative to study reference treatment with...

ref.synth

Synthesise single arm studies with repeated observations of the same t...

ref.validate

Checks the validity of ref.resp if given as data frame

remove.loops

Removes any loops from MBNMA model JAGS code that do not contain any e...

replace.prior

Replace original priors in an MBNMA model with new priors

summary.mb.network

Print summary mb.network information to the console

summary.mb.predict

Prints summary of mb.predict object

summary.mbnma

Print summary MBNMA results to the console

summary.nodesplit

Takes node-split results and produces summary data frame

temax

Emax time-course function

tfpoly

Fractional polynomial time-course function

timeplot

Plot raw responses over time by treatment or class

titp

Integrated Two-Component Prediction (ITP) function

tloglin

Log-linear (exponential) time-course function

tpoly

Polynomial time-course function

tspline

Spline time-course functions

tuser

User-defined time-course function

write.beta

Adds sections of JAGS code for an MBNMA model that correspond to beta ...

write.check

Checks validity of arguments for mb.write

write.cor

Adds correlation between time-course relative effects

write.likelihood

Adds sections of JAGS code for an MBNMA model that correspond to the l...

write.model

Write the basic JAGS model code for MBNMA to which other lines of mode...

write.ref.synth

Write MBNMA time-course models JAGS code for synthesis of studies inve...

write.timecourse

Adds sections of JAGS code for an MBNMA model that correspond to alpha...

Fits Bayesian time-course models for model-based network meta-analysis (MBNMA) that allows inclusion of multiple time-points from studies. Repeated measures over time are accounted for within studies by applying different time-course functions, following the method of Pedder et al. (2019) <doi:10.1002/jrsm.1351>. The method allows synthesis of studies with multiple follow-up measurements that can account for time-course for a single or multiple treatment comparisons. Several general time-course functions are provided; others may be added by the user. Various characteristics can be flexibly added to the models, such as correlation between time points and shared class effects. The consistency of direct and indirect evidence in the network can be assessed using unrelated mean effects models and/or by node-splitting.