Learn R Programming

metaRMST

An R package for meta-analysis of RMSTD

R Installation Instructions

install.packages("devtools")
library(devtools)
devtools::install_github("iweir/metaRMST")
library(metaRMST)

Example

# load library
library(metaRMST)

# read in built-in dataset 
data(AorticStenosisTrials)

# demonstration of meta-analysis to obtain combined effect by multivariate meta-analysis model (method="mvma")
mvma_res <- metaRMSTD(AorticStenosisTrials, time_horizons=c(12,24,36), MA_method="mvma")
mvma_res$REresult

# generate figure:
obj <- RMSTcurves(AorticStenosisTrials, time_horizons=c(12,24,36), tmax=40, nboot=50)
RMSTplot(obj, xlim=c(0,40), ylim=c(-0.25,2.75), yby=0.5, ylab="RMSTD (mos)", xlab="Time (mos)")

Copy Link

Version

Install

install.packages('metaRMST')

Monthly Downloads

19

Version

1.0.0

License

GPL-2

Issues

Pull Requests

Stars

Forks

Maintainer

Isabelle Weir

Last Published

December 18th, 2018

Functions in metaRMST (1.0.0)

RMSTplot

Plot RMST curves in each trial and combined effects
RMSTcurves

prepare data for plot of RMSTD over time
AorticStenosisTrials

Aortic Stenosis RCT data
metaRMSTD

Meta-analysis of RMSTD at multiple time horizons