Skip to contents

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()