Aliases an aspect, this changes the name of the aspects when displayed in axis titles, tooltips, labels, and other places.
aka(g, asp, alias)
g | An object of class |
---|---|
asp | Bare name of aspect to alias. |
alias | A string defining the alias. |
# see tooltip g2(cars, asp(speed, dist)) %>% fig_point() %>% aka(dist, "SO FAR")