Learn R Programming

spicy (version 0.6.0)

print.spicy_assoc_detail: Print a detailed association measure result

Description

Formats a spicy_assoc_detail vector (returned by association functions with detail = TRUE) with fixed decimal places and < 0.001 notation for small p-values.

Usage

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

Value

x, invisibly.

Arguments

x

A spicy_assoc_detail object.

digits

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

...

Ignored.

See Also

cramer_v(), assoc_measures()