Text variables are wrapped across multiple lines if needed, and optionally sorted according to the levels of a grouping variable.
formatParamVarTextPlot(
data,
paramVar = NULL,
paramValueVar = NULL,
paramValueLab = NULL,
paramGroupVar = NULL,
revert = FALSE,
width = formatReport$yLabelWidth,
widthValue = ifelse(formatReport$landscape, 240, 190),
formatReport = subjectProfileReportFormat(),
table = FALSE,
colWidth = NULL
)data with reformatted paramVar and paramValueVar variables,
with additional attribute: colWidth.
data.frame with data
string, variable of data with parameter
string, variable of data containing the parameter value.
Character vector with labels for paramValueVar.
(optional) character vector with variable(s) of
data with grouping.
If specified, the parameters will be
grouped by this(these) variable(s) in the y-axis.
logical, if TRUE revert the order of the levels of the variable
max number of characters in the paramVar parameter.
max number of characters in the paramValueVar parameter.
list with parameters used to specify the format of the report,
e.g. output of the subjectProfileReportFormat function
Logical, if TRUE the paramValueVar variables
are displayed as table (so are not concatenated).
Numeric vector with approximate
width of each parameter value column
for a table layout.
For example in case two parameters are specified:
c(0.8, 0.2)) such as the first column
takes 80% of plot area, and the second column 20%.
Note: columns can be slightly bigger if their content is
larger than the specified width.
If not specified, column width is optimized
based on the max length of the character in each column.
Laure Cougnaud
subjectProfileTextPlot