RMSTcurves: prepare data for plot of RMSTD over time

Description Usage Arguments Value References

View source: R/RMSTcurves.R

Description

Prepare the data for use with RMSTplot. This function computes RMSTD over specified time horizons and also fits a flexible parametric model to each trial. It calls the metaRMSTD function to compute the estimated combined effects for each of the 4 methods.

Usage

1
2
3
RMSTcurves(trialdata, time_horizons, tmax = max(time_horizons),
  tstep = 0.25, nboot = 500, MA_mvma = TRUE, MA_mvma_boot = TRUE,
  MA_uni = TRUE, MA_uni_flex = TRUE)

Arguments

trialdata

IPD trial data

time_horizons

specified vector of time horizons for the meta-analysis

tmax

maximum value for RMSTD to be calculated in each trial

tstep

increment for calculation of RMSTD over time interval from 0 to tmax; default=0.25

nboot

the number of bootstrap iterations, if using the MVMA with bootstrap covariance matrix; default=500

MA_mvma

TRUE or FALSE indicates whether to include combined effect by this method

MA_mvma_boot

TRUE or FALSE indicates whether to include combined effect by this method

MA_uni

TRUE or FALSE indicates whether to include combined effect by this method

MA_uni_flex

TRUE or FALSE indicates whether to include combined effect by this method

Value

an object to be plotted with RMSTplot

References

Royston, P. and Parmar, MK. Flexible parametric proportional-hazards and proportional-odds models for censored survival data, with application to prognostic modelling and estimation of treatment effects. Stat. Med. 2002.


iweir/metaRMST documentation built on July 11, 2019, 6:06 p.m.