getCharWidth: Get width of a proportional character

getCharWidthR Documentation

Get width of a proportional character

Description

Estimates how the character compares to a "standard character", like a or s. Returns a single floating-point value: 1 for characters of standard width, >1 for wider characters, <1 for narrower characters.

Usage

getCharWidth(char)

Arguments

char

character string of length 1 (single character).

Value

numeric (floating-point) value.


Roche/ggtips documentation built on May 14, 2022, 12:44 p.m.