inch2line: Plotting Dimensions of Character Strings

View source: R/plot.R

inch2lineR Documentation

Plotting Dimensions of Character Strings

Description

Convert string length in inch to number of (margin) lines.

Usage

inch2line(x, ...)

Arguments

x

A character vector of string whose length is to be calculated.

...

Further parameter to be passed to graphics::strwidth()⁠, such as ⁠cex'.

Value

A numeric vector (maximum string width in units of margin lines).

Note

For internal use only.

See Also

Other graphic tools: circle(), label_auto(), label_percent()


nfrerebeau/codex documentation built on May 1, 2024, 6:11 a.m.