Learn R Programming

fastglm (version 0.1.4)

fastglm-diagnostics-methods: 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 fastglm_diagnostics
as.data.frame(x, row.names = NULL, optional = FALSE, ...)

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

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.

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.