Reputation: 823
I'm trying to add a text in the form of ab to a graph instead of ab.
This works fine:
> xlab = expression(paste("a"^"b"))
If I reverse them I get:
Error: unexpected '^' in "xlab = expression(paste(^"
What would be the correct way to implement it?
Upvotes: 2
Views: 105