Get variable with page of the plot, used for automatic paging of a plot
getPageVar(
data,
var,
typeVar = c("y", "panel"),
formatReport = subjectProfileReportFormat(),
title = TRUE,
xLab = TRUE,
caption = TRUE,
paging = TRUE,
table = FALSE
)
input data
with additional column 'pagePlot'
containing the page for the plot
data.frame with data
string, variable of data
with variable for the y-axis
string, type of the variable, either: 'y': the variable is displayed in the x-axis or 'panel': the variable is displayed as separated facets. This is used to compute height for each line of the plot.
list with parameters used to specify the format of the report,
e.g. output of the subjectProfileReportFormat
function
logical, has the plot a title?
logical, has the plot a label for the x-axis?
logical, has the plot a caption?
Logical, if TRUE (by default), automatic
paging is enabled, so patient profiles module too big to fit
in one page will span multiple pages.
Please note that the size of the graphic window
(or report page) may need
to be re-sized in order that the plot fits.
If FALSE, the entire plot is included in one single page.
Logical, if TRUE the paramValueVar
variables
are displayed as table (so are not concatenated).
Laure Cougnaud