title: seq function with stat_smooth
body: <p>I have a melted data.frame with 3 variables.</p>
  <pre><code>      rn      variable       value
  1     1 mhits_L$fhits 0.002262443
  2     2 mhits_L$fhits 0.000000000
  3     3 mhits_L$fhits 0.000000000
  4     4 mhits_L$fhits 0.002262443
  5     5 mhits_L$fhits 0.002262443
  6     6 mhits_L$fhits 0.000000000
  7     7 mhits_L$fhits 0.000000000
  8     8 mhits_L$fhits 0.002262443
  9     9 mhits_L$fhits 0.000000000
  10   10 mhits_L$fhits 0.000000000
  
  
  
       rn      variable       value
  1     1 mhits_H$fhits 0.000000000
  2     2 mhits_H$fhits 0.000000000
  3     3 mhits_H$fhits 0.000000000
  4     4 mhits_H$fhits 0.000000000
  5     5 mhits_H$fhits 0.004273504
  6     6 mhits_H$fhits 0.000000000
  7     7 mhits_H$fhits 0.000000000
  8     8 mhits_H$fhits 0.000000000
  9     9 mhits_H$fhits 0.000000000
  10   10 mhits_H$fhits 0.004273504
  
  
  
      rn       variable       value
  1     1 mhits_VH$fhits 0.000000000
  2     2 mhits_VH$fhits 0.000000000
  3     3 mhits_VH$fhits 0.000000000
  4     4 mhits_VH$fhits 0.004291845
  5     5 mhits_VH$fhits 0.004291845
  6     6 mhits_VH$fhits 0.004291845
  7     7 mhits_VH$fhits 0.000000000
  8     8 mhits_VH$fhits 0.004291845
  9     9 mhits_VH$fhits 0.000000000
  10   10 mhits_VH$fhits 0.000000000
  </code></pre>
  <p>I wanted to plot a smoothed plot using seq(rn):</p>
  <pre><code>ggplot(aes(x = seq(rn), y = value, color = variable)) + 
    stat_smooth(aes(y = value), position = &quot;identity&quot;, method = &quot;loess&quot;, span = 0.1,se = FALSE)
  </code></pre>
  <p>The plot appears (as shown) with each of the variables separated instead of one plot with all three having the same x axis of 0-550. Basically all three have to be superimposed on the same seq(rn) from 0-550. What am I missing? <a href="https://i.stack.imgur.com/rXX3X.png" rel="nofollow noreferrer">plot</a></p>