I made this plot
data(iris)
plot(density(iris$Sepal.Length), xlab = "xlab")
I know this is non-sensical, but would there have been a way to add a "dollar sign" to each unit on the x-axis? For example:
I tried to this the following way:
library(priceR)
iris$Sepal.Length = format_dollars(iris$Sepal.Length)
plot(density(iris$Sepal.Length), xlab = "xlab")
But I don't think this is the right way to do this. Is there a more general way to simply add dollar signs ($) to each unit on the x-axis?
Thanks


