title: Add dollar sign to x-axis on plot
body: <p>I made this plot</p>
  <pre><code>data(iris)
  plot(density(iris$Sepal.Length), xlab = &quot;xlab&quot;)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/eplMO.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/eplMO.png" alt="enter image description here" /></a></p>
  <p>I know this is non-sensical, but would there have been a way to add a &quot;dollar sign&quot; to each unit on the x-axis? For example:</p>
  <p><a href="https://i.stack.imgur.com/2DiVT.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/2DiVT.png" alt="enter image description here" /></a></p>
  <p>I tried to this the following way:</p>
  <pre><code>library(priceR)
  iris$Sepal.Length = format_dollars(iris$Sepal.Length)
  plot(density(iris$Sepal.Length), xlab = &quot;xlab&quot;)
  </code></pre>
  <p>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?</p>
  <p>Thanks</p>