format_p_forest: Format a p-value for forest plot annotations

View source: R/forest_utils.R

format_p_forestR Documentation

Format a p-value for forest plot annotations

Description

Returns a formatted p-value string suitable for forest plot display, using locale-aware decimal marks when marks is provided.

Usage

format_p_forest(p, p_digits, marks = NULL)

Arguments

p

Numeric p-value.

p_digits

Integer decimal places.

marks

Optional list with big.mark and decimal.mark as returned by resolve_number_marks.

Value

Character string.


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