getNLinesLabel {patientProfilesVis} | R Documentation |
Get number of lines for specific label either
from a ggplot2
object via gg
or from the label via value
Description
Get number of lines for specific label either
from a ggplot2
object via gg
or from the label via value
Usage
getNLinesLabel(
gg,
value,
elName = c("x", "y", "title", "caption"),
elNLines = NULL
)
Arguments
gg |
|
value |
String with label value. |
elName |
string with name of label to extract, among 'x', 'y' and 'title' |
elNLines |
(optional) Named integer with number of lines, by default 2 for 'x'/'y', 3 for 'title' and 1 for caption. |
Value
integer with (approximated) number of lines
Author(s)
Laure Cougnaud
[Package patientProfilesVis version 2.0.9 Index]