plot.MetaAnalyticSurvCont {Surrogate} | R 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)
[Package Surrogate version 3.3.0 Index]