signs_centered: Centering signed numbers

View source: R/a_early.R

signs_centeredR Documentation

Centering signed numbers

Description

A wrapper function for the signs::signs function. It adds a space to the right side of negative numbers so that it appear as if the minus sign does not affect the number's centering.

Usage

signs_centered(x, space = NULL, encoding = "UTF-8", ...)

Arguments

x

a numeric vector

space

a character to be added to negative numbers (defaults to a UTF-8 figure space)

encoding

type of encoding (defaults to UTF-8)

...

parameters passed to signs:signs

Value

a vector of numbers converted to characters


ggdiagram documentation built on Sept. 15, 2025, 1:07 a.m.