I recently found out that it is possible to add greek alphabets and other symbols within the annotate text in ggplot. I am trying to add arrows (upwards and downwards) to my text and I can't seem to find the correct numerical code for it. I tried searching but can't find a list of codes online. The syntax is something like that under label:
label="'test text ' * symbol('\\205')"
\142 gives a beta symbol and \154 gives a gamma symbol. Anyone knows how does this code works? Thanks!
The following works:
Unicode for arrows from here
Here is the resulting plot: