View source: R/MetaAnalyticSurvCat.R
plot.MetaAnalyticSurvCat | 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 'MetaAnalyticSurvCat()' function.
## S3 method for class 'MetaAnalyticSurvCat'
plot(x, ...)
x |
An object of class 'MetaAnalyticSurvCat' fitted with the 'MetaAnalyticSurvCat()' function. |
... |
... |
A plot of the type ggplot
## Not run:
data("colorectal4")
fit <- MetaAnalyticSurvCat(data = colorectal4, true = truend, trueind = trueind, surrog = surrogend,
trt = treatn, center = center, trial = trialend, patientid = patid,
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.