plot.gof_battery: Plot the GiViTI calibration belt from a goodness-of-fit...

View source: R/run_all_gof.R

plot.gof_batteryR Documentation

Plot the GiViTI calibration belt from a goodness-of-fit battery

Description

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.

Usage

## S3 method for class 'gof_battery'
plot(x, ...)

Arguments

x

A gof_battery object from run.all.gof.

...

Passed to the givitiR plot method.

Value

x, invisibly.

Examples


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)


ebrahim.gof documentation built on Oct. 11, 2026, 5:07 p.m.