combineVerticallyGGplot {patientProfilesVis} | R Documentation |
Combine vertically multiple ggplot
.
Description
If the different modules for a subject don't fit in the page, there are automatically split in multiple pages. The margins are extracted across plots to ensure that plots will be probably aligned.
Usage
combineVerticallyGGplot(
listPlots,
maxNLines = NULL,
nCores = 1,
shiny = FALSE,
verbose = FALSE,
reportPerSubject = FALSE
)
Arguments
listPlots |
listPlots per subject as created inside the
|
maxNLines |
Maximum number of lines for a combined plot,
to fit in the page height. |
nCores |
Integer containing the number of cores used for the computation
(1 by default). If more than 1, computation is parallelized, in this case
the package |
shiny |
logical, set to TRUE (FALSE by default)
if the report is generated from a Shiny application.
Messages during report creation will be included in the Shiny interface,
and it will be mentioned at the end of the report.
In this case, the |
verbose |
logical, if TRUE print messages during execution |
reportPerSubject |
Logical, if TRUE (FALSE by default) export a subject profile report by subject. |
Value
a list (by subject) of list (by page)
of ggplot
object
Author(s)
Laure Cougnaud