View source: R/plots-utility-axisLabels.R
getAxisLabs | R Documentation |
Set different variables for the x-axis labels
getAxisLabs(data, var, labVars)
data |
Data.frame with data. |
var |
String with variable displayed in the axis. |
labVars |
Character vector with variable(s) to be displayed as the labels of the ticks in the axis. |
Named character vector. The names are the position in the x-axis, the values are the new labels.
Laure Cougnaud
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.