View source: R/MetaAnalyticSurvSurv.R
plot.MetaAnalyticSurvSurv | 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.
## S3 method for class 'MetaAnalyticSurvSurv'
plot(x, ...)
x |
An object of class 'MetaAnalyticSurvSurv' fitted with the 'MetaAnalyticSurvSurv()' function. |
... |
... |
A plot of the type ggplot
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.