fastglm-diagnostics-methods: Display and extract numerical diagnostics

fastglm-diagnostics-methodsR Documentation

Display and extract numerical diagnostics

Description

Diagnostics use the same headings and numeric formatting as fitted models. Scores and remaining updates assess numerical convergence; they are not hypothesis tests. For bias-reduced GLMs the ordinary likelihood score can remain nonzero even when the adjusted equations have been solved.

Usage

## S3 method for class 'fastglm_diagnostics'
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

## S3 method for class 'fastglm_diagnostics'
print(x, digits = max(3L, getOption("digits") - 3L), ...)

Arguments

x

an object returned by fastglm_diagnostics().

row.names

optional row names for the extracted data frame.

optional

logical, passed to the data-frame constructor.

...

additional arguments, currently unused.

digits

number of significant digits used for display.

Value

The print method invisibly returns x. as.data.frame() returns one row with numeric and logical scalar columns at their original precision. Coefficient score vectors, aliased coefficients, collapsed categories, and rejected-evaluation details are retained as list columns.


fastglm documentation built on Nov. 11, 2026, 5:07 p.m.