plot.MetaAnalyticSurvCont: Generates a plot of the estimated treatment effects for the...

View source: R/MetaAnalyticSurvCont.R

plot.MetaAnalyticSurvContR Documentation

Generates a plot of the estimated treatment effects for the surrogate endpoint versus the estimated treatment effects for the true endpoint for an object fitted with the 'MetaAnalyticSurvCont()' function.

Description

Generates a plot of the estimated treatment effects for the surrogate endpoint versus the estimated treatment effects for the true endpoint for an object fitted with the 'MetaAnalyticSurvCont()' function.

Usage

## S3 method for class 'MetaAnalyticSurvCont'
plot(x, ...)

Arguments

x

An object of class 'MetaAnalyticSurvCont' fitted with the 'MetaAnalyticSurvCont()' function.

...

...

Value

A plot of the type ggplot

Examples

## Not run: 
data("colorectal4")
data("prostate")
fit <- MetaAnalyticSurvCont(data = prostate, true = SURVTIME, trueind = SURVIND, surrog = PSA,
trt = TREAT, center = TRIAL, trial = TRIAL, patientid = PATID,
copula = "Hougaard", adjustment = "weighted")
plot(fit)

## End(Not run)


Surrogate documentation built on June 22, 2024, 9:16 a.m.