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