| getNLinesLegend {patientProfilesVis} | R Documentation |
Get number of lines in the legend,
either from directly the ggplot2 object,
or from the values of the legend (legendValues)
and title (legendTitle)
Description
Get number of lines in the legend,
either from directly the ggplot2 object,
or from the values of the legend (legendValues)
and title (legendTitle)
Usage
getNLinesLegend(gg, values, title)
Arguments
gg |
|
values |
Vector with unique legend values |
title |
String, title for the plot. |
Value
integer with (approximated) number of lines
Author(s)
Laure Cougnaud
[Package patientProfilesVis version 2.0.9 Index]