plot.MetaAnalyticSurvCat {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 'MetaAnalyticSurvCat()' 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 'MetaAnalyticSurvCat()' function.
Usage
## S3 method for class 'MetaAnalyticSurvCat'
plot(x, ...)
Arguments
x |
An object of class 'MetaAnalyticSurvCat' fitted with the 'MetaAnalyticSurvCat()' function. |
... |
... |
Value
A plot of the type ggplot
Examples
## 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)
[Package Surrogate version 3.3.0 Index]