Learn R Programming

spicy (version 0.6.0)

print.spicy_assoc_table: Print an association measures summary table

Description

Formats a spicy_assoc_table data frame (returned by assoc_measures()) with fixed decimal places, aligned columns, and < 0.001 notation for small p-values.

Usage

# S3 method for spicy_assoc_table
print(x, digits = attr(x, "digits") %||% 3L, ...)

Value

x, invisibly.

Arguments

x

A spicy_assoc_table object.

digits

Number of decimal places for estimates, SE, and confidence intervals. Defaults to 3. The p-value is always formatted separately (< 0.001 or three decimal places).

...

Ignored.

See Also

assoc_measures()