fastglm-test-methods: Display and extract hypothesis tests

fastglm-test-methodsR Documentation

Display and extract hypothesis tests

Description

Test objects print a compact table while retaining full-precision numeric results. Data-frame and optional broom methods provide a single row for reporting, including unavailable tests and their explanations.

Usage

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

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

tidy.fastglm_test(x, ...)

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

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

tidy.fastglm_test_list(x, ...)

Arguments

x

a test returned by fastglm_po_test(), the proportional-odds test component of fastglm_ordinal_assess(), fastglm_wald_test(), or fastglm_profile_test(). Collections from fastglm_po_test(by.term=TRUE) print a table and extract one row per hypothesis.

row.names

optional row names for the extracted data frame.

optional

logical, passed to the data-frame constructor.

details

include method descriptions and failure explanations in the extracted table. The default returns the main numeric results and status.

...

additional arguments, currently unused.

digits

number of significant digits used for display.

Value

Print methods invisibly return the original object. Extraction methods return a data frame with numeric statistics and p-values.


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