Learn R Programming

arkhe (version 1.4.0)

inch2line: Plotting Dimensions of Character Strings

Description

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

Usage

inch2line(x, ...)

Value

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

Arguments

x

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

...

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

See Also

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