plot.MetaAnalyticSurvSurv {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 'MetaAnalyticSurvSurv()' 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 'MetaAnalyticSurvSurv()' function.
Usage
## S3 method for class 'MetaAnalyticSurvSurv'
plot(x, ...)
Arguments
x |
An object of class 'MetaAnalyticSurvSurv' fitted with the 'MetaAnalyticSurvSurv()' function. |
... |
... |
Value
A plot of the type ggplot
Examples
## Not run:
data("colorectal4")
fit <- MetaAnalyticSurvSurv(data=Ovarian,true=Surv,trueind=SurvInd,surrog=Pfs,surrogind=PfsInd,
trt=Treat,center=Center,trial=Center,patientid=Patient,
copula="Plackett",adjustment="unadjusted")
plot(fit)
## End(Not run)
[Package Surrogate version 3.3.0 Index]