Get optimal column widths, based on the minimum word size and median number of characters in each column.
getOptimalColWidth(
data,
widthValue = ifelse(formatReport$landscape, 240, 190),
labels = NULL,
formatReport = subjectProfileReportFormat()
)
Numeric vector of length(ncol(data))
with optimal widths.
Data.frame with columns for which optimal width should be extracted.
max number of characters in the paramValueVar
parameter.
(optional) Character vector with column labels for data
.
list with parameters used to specify the format of the report,
e.g. output of the subjectProfileReportFormat
function
Laure Cougnaud