| plot.gof_battery | R Documentation |
Draws the GiViTI calibration belt stored on a run.all.gof result
that was produced with calibration_plot = TRUE. The belt shows the
fitted calibration curve with a confidence region against the 45-degree line.
## S3 method for class 'gof_battery'
plot(x, ...)
x |
A |
... |
Passed to the givitiR plot method. |
x, invisibly.
fit <- glm(outcome ~ age + bmi + sex + treatment, data = gof_demo, family = binomial)
res <- run.all.gof(fit, tests = "GiViTI", calibration_plot = TRUE, install = "no")
plot(res)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.