View source: R/MetaAnalyticSurvBin.R
plot.MetaAnalyticSurvBin | 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 'MetaAnalyticSurvBin()' function.
## S3 method for class 'MetaAnalyticSurvBin'
plot(x, ...)
x |
An object of class 'MetaAnalyticSurvBin' fitted with the 'MetaAnalyticSurvBin()' function. |
... |
... |
A plot of the type ggplot
## Not run:
data("colorectal")
fit_bin <- MetaAnalyticSurvBin(data = colorectal, true = surv, trueind = SURVIND,
surrog = responder, trt = TREAT, center = CENTER,
trial = TRIAL, patientid = patientid,
adjustment="unadjusted")
plot(fit_bin)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.