title: RStudio ggplot Logarithmic graph
body: <p>I have a really easy data frame with two columns. We can just call them X and Y. Y is in feet and X is in cubic feet per second. I want to do a log graph and obtain the equation for the line but I have no idea how to accomplish this. I am guessing this is easier then I am making it out to be.  I am currently using ggplot and I am getting really strange graphs. I attached a picture of what I am getting but the graph dows not make sense. It should be a straight line. <a href="https://i.stack.imgur.com/e3CKY.png" rel="nofollow noreferrer">graph</a></p>
  <pre><code>*a %&gt;% 
    ggplot(aes(Discharge, Gageheight)) +
    geom_point())*
  </code></pre>
  <p>Thank you for your help!</p>