val_format: Format a mean +/- SD string

View source: R/utils_format.R

val_formatR Documentation

Format a mean +/- SD string

Description

Format a mean +/- SD string

Usage

val_format(mean, sd)

Arguments

mean

Numeric mean value. Formatted to 1 decimal place.

sd

Numeric standard deviation. Formatted to 1 decimal place.

Value

A character string of the form "X.X \u00b1 Y.Y" where both values are rendered to 1 decimal place using fixed-point notation.


TernTables documentation built on March 26, 2026, 5:09 p.m.