schola_labeller: Labeller with width wrapping and item code-label dictionary

View source: R/barplot.R

schola_labellerR Documentation

Labeller with width wrapping and item code-label dictionary

Description

Turns item codes into labels by looking up provided dictionary and applies them as facet labels.

Usage

schola_labeller(dict, width = 80)

Arguments

dict

code-label dictionary as named character vector, see dict_from_data()

width

maximal string length per line, if NULL, this is off

Value

object of class labeller, to be used in ⁠facet_*⁠ ggplot2 functions.


scholaempirica/reschola documentation built on Oct. 16, 2024, 6:43 a.m.