This function formats a variable with long labels by wrapping its elements into multiple lines.
character vector with labels to format
target maximum size. Note: a word
longer that this width won't be split (see
Vector with formatted labels
Laure Cougnaud longLabel <- "This is a very long description of the variable in the dataset" cat(longLabel) cat(formatLongLabel(longLabel))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.