RMSTplot: Plot RMST curves in each trial and combined effects

Description Usage Arguments Value

View source: R/RMSTplot.R

Description

Plot the RMSTcurve object

Usage

1
2
3
4
5
6
RMSTplot(RMSTobject, type = "l", col = c("red", "blue", "green",
  "orange", "purple", "yellow", "brown", "gray"), lwd = 2,
  ylim = c(-0.75, 2.75), yby = 0.25, xlim = c(0, 36), xby = 12,
  main = "", xlab = "Time (unit)",
  ylab = "Difference in RMST (unit)", trial_legend = TRUE,
  MA_legend = TRUE, estimates = TRUE)

Arguments

RMSTobject

object created by RMSTcurves

type

specify plot type (defaults to line plot)

col

option to specify vector of colors for each study

lwd

option to specify line width

ylim

option to specify limits for y axis

yby

option to specify intervals for y axis

xlim

option to specify limits for x axis

xby

option to specify intervals for x axis

main

option to add title

xlab

option to specify x axis label

ylab

option to specify y axis label

trial_legend

option to include a legend for trial colors

MA_legend

option to include a legend for meta-analysis symbols

estimates

option to include meta-analysis estimates and CIs

Value

a plot of RMSTD over time with option to add combined effect estimates and pointwise 95


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