Learn R Programming

fb4package (version 2.0.0)

format_statistics_text: Format Statistics Text for Plots

Description

Creates formatted text blocks with key statistics for plot annotations.

Usage

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

Value

Character vector of formatted text lines

Arguments

stats

Named list or vector of statistics

digits

Number of digits for rounding, default 3

prefix

Optional prefix for each line