getNLinesSubjectProfile {patientProfilesVis}R Documentation

Get approximately the number of 'lines' in the vertical direction of a subject profile.

Description

This is extracted from the presence of labels in the y-axis, labels and title in the x-axis, general title and number of lines in the legend. Can be used to specify plot-specific height during the export.

Usage

getNLinesSubjectProfile(gg)

Arguments

gg

ggplot2 object, subset of the output of the subjectProfile[X]Plot function, for a particular subject/module/page.

Value

integer with (approximated) number of lines

Author(s)

Laure Cougnaud


[Package patientProfilesVis version 2.0.9 Index]