bold_pvalues_ft: Bold significant _p_-values in DOCX

View source: R/table2_utils.R

bold_pvalues_ftR Documentation

Bold significant p-values in DOCX

Description

Applies bold formatting to significant p-values in flextable objects by detecting values below threshold or "< 0.001" patterns.

Usage

bold_pvalues_ft(ft, df, p_threshold = 0.05)

Arguments

ft

flextable object.

df

The source data.table.

p_threshold

Numeric p-value threshold for significance.

Value

Flextable object with significant p-values bolded.


summata documentation built on May 7, 2026, 5:07 p.m.