Breaks down character strings into one or several lines, and determines if it would fit into a specific height and width.
line_creator(
cex_val,
string,
height = numeric(),
width = numeric(),
units = c("mm"),
sep = "\n"
)
A list containing a vector with each index equal to a line of the broken-down string, a TRUE/FALSE value indicating whether the lines will fit within equal sized rows and the widths in mm of each of the lines.
The text cex multiplier applied to the string.
The character string needed to be broken down into several lines.
A numeric value designating the total height of the matrix grob in mm.
A numeric value designating the total width of the matrix grob in mm.
millimeters
The separator within the character string which designates where a new line should start.