title: Plot a function with ggplot, equivalent of curve()
body: <p>Is there an equivalent method for plotting functions using <code>ggplot</code> to the <code>curve()</code> command employed in base graphics? I guess that the alternative would be to just create a vector of values of the function and plot a connected line, but I was hoping for something a bit more simple.</p>
  
  <p>Thanks!</p>