get_label_formula | R Documentation |
Get formula for calculating position of value labels
get_label_formula(label_var, is_percentage = FALSE)
label_var |
The name of the variable requiring value labels |
is_percentage |
Optional boolean indicating whether the value label is expressed in absolute numbers or as a percentage, defaults to false |
A defused expression for calculating the position of the y-label
## Not run: get_label_formula(y_var = cyl, label_reverse = TRUE, is_percentage = FALSE) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.