make_title {chronicle} | R Documentation |
Guess a title out of function parameters
Description
Detects which make_* function is passed and builds a generic name based on its parameters.
Usage
make_title(fun, params)
Arguments
fun |
chronicle make_* function |
params |
parameters for fun |
Value
A generic title for the plot
Examples
make_title(fun = chronicle::make_barplot,
params = list(value = 'Amount',
bars = 'Country',
break_bars_by = 'Region'))
make_title(fun = chronicle::make_raincloud,
params = list(value = 'value',
groups = 'species'))
[Package chronicle version 0.3 Index]