format_statistics_text: Format Statistics Text for Plots

View source: R/16.1-plot-core.R

format_statistics_textR Documentation

Format Statistics Text for Plots

Description

Creates formatted text blocks with key statistics for plot annotations.

Usage

format_statistics_text(stats, digits = 3, prefix = "")

Arguments

stats

Named list or vector of statistics

digits

Number of digits for rounding, default 3

prefix

Optional prefix for each line

Value

Character vector of formatted text lines


fb4package documentation built on May 8, 2026, 1:07 a.m.