format_labels: Format labels for output object

View source: R/outputUtils.R

format_labelsR Documentation

Format labels for output object

Description

Prepare labels based on multiple identifiers so that they do not excede a certain size (if they do, a simple number is used)

Usage

format_labels(labels, max_col = 3, max_row = 3)

Arguments

labels

a charachter vector of the labels to manage

max_col

maximum number of identifiers in a single row for a label

max_row

maximum number of rows of identifiers in a label

Value

the updated labels

Examples

 
format_labels(c("A, B", "C, D, E"))


redsnic/CIMICE documentation built on March 30, 2022, 2:46 a.m.