plot.TwoStageSurvSurv: Plots trial-level surrogacy in the meta-analytic framework...

View source: R/plot.TwoStageSurvSurv.R

plot TwoStageSurvSurvR Documentation

Plots trial-level surrogacy in the meta-analytic framework when two survival endpoints are considered.

Description

Produces a plot that graphically depicts trial-level surrogacy when the surrogate and true endpoints are survival endpoints.

Usage

## S3 method for class 'TwoStageSurvSurv'
plot(x, Weighted=TRUE, xlab, ylab, main,
Par=par(oma=c(0, 0, 0, 0), mar=c(5.1, 4.1, 4.1, 2.1)), ...)

Arguments

x

An object of class TwoStageContCont.

Weighted

Logical. If Weighted=TRUE, the circles that depict the trial-specific treatment effects on the true endpoint against the surrogate endpoint are proportional to the number of patients in the trial. If Weighted=FALSE, all circles have the same size. Default TRUE.

xlab

The legend of the X-axis, default "Treatment effect on the surrogate endpoint (\alpha_{i})".

ylab

The legend of the Y-axis, default "Treatment effect on the true endpoint (\beta_{i})".

main

The title of the plot, default "Trial-level surrogacy".

Par

Graphical parameters for the plot. Default par(oma=c(0, 0, 0, 0), mar=c(5.1, 4.1, 4.1, 2.1)).

...

Extra graphical parameters to be passed to plot().

Author(s)

Wim Van der Elst, Ariel Alonso, & Geert Molenberghs

See Also

TwoStageSurvSurv

Examples

# Open Ovarian dataset
data(Ovarian)
# Conduct analysis
Results <- TwoStageSurvSurv(Dataset = Ovarian, Surr = Pfs, SurrCens = PfsInd,
True = Surv, TrueCens = SurvInd, Treat = Treat, Trial.ID = Center)
# Examine results of analysis
summary(Results)
plot(Results)

Surrogate documentation built on Sept. 25, 2023, 5:07 p.m.