Set layout for a clinical data plot.
layoutClinData(
xLab = NULL,
yLab = NULL,
title = NULL,
caption = NULL,
subtitle = NULL,
includeLegend = FALSE,
legendPosition = "right",
facet = FALSE,
nrow = 1L,
ncol = 1L,
width,
height,
watermark = NULL,
...
)
The updated plotly
object
String with label for xVar
.
String with label for xVar
.
String with title for the plot.
String with caption.
The caption is included at the bottom right of the plot.
Please note that this might overlap with
vertical or rotated x-axis labels.
String with subtitle.
The subtitle is included at the top left of the plot,
below the title.
Logical, if TRUE (by default) a legend is available in the plot.
String with position of the legend, among: 'top'/'left'/'bottom'/'right', 'right' by default.
Logical (FALSE by default), does the plot contains facets?
single-length integer specifying the
number of facet rows in the plot. (default = 1)
Overwritten if gg
is specified.
single-length integer specifying the
number of facet columns in the plot. (default = 1)
Overwritten if gg
is specified.
Numeric, width of the plot in pixels, 800 by default.
Numeric, height of the plot in pixels, 500 by default.
(optional) String with path to a file containing a watermark.
Any parameters for the layout
function. This should contain at least the plot object.
Laure Cougnaud