Skip to contents

Controls how p-values are displayed in the table.

Usage

set_spec_pvalue(spec, threshold, scientific)

Arguments

spec

A TableSpec or SummarySpec object

threshold

Numeric threshold below which p-values display as "< threshold", or NULL to disable threshold display

scientific

Logical. If TRUE, use scientific notation for p-values

Value

Modified spec

Examples

spec <- TableSpec() |>
  set_spec_pvalue(threshold = 0.001, scientific = TRUE)