-->

Displaying *(star) superscript in R - [removed] )

2019-06-01 06:54发布

问题:

is there any way to display superscript of *(star), with the expression() function? I am trying to display this in a graph produced in ggplot2. I have tried

expression(a^{*})

but does not work. Thank you.

回答1:

plot(rnorm(30), xlab = expression(paste("a"^"*")))


标签: r superscript