| print.gof_battery | R Documentation |
Formats the run.all.gof result as a compact, readable table:
rows grouped by test family, p-values shown to four decimals (or scientific
for very small values, "-" when not available), and a significance
flag. The object is still a plain data.frame underneath, so all the
raw columns remain available for programmatic use.
## S3 method for class 'gof_battery'
print(x, ...)
x |
A |
... |
Ignored. |
The header counts the rows that reject at the 0.05 level. The rows printed for
comparison only (the sparse Pearson and Deviance statistics and the
F-test; see run.all.gof) carry no significance flag and are not
counted. Notes are wrapped to getOption("width").
x, invisibly.
fit <- glm(outcome ~ age + bmi + sex + treatment, data = gof_demo, family = binomial)
print(run.all.gof(fit, include_slow = FALSE, install = "no"))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.