title: Exponential curve fitting in R
body: <pre><code>time = 1:100  
  head(y)  
  0.07841589 0.07686316 0.07534116 0.07384931 0.07238699 0.07095363   
  plot(time,y)  
  </code></pre>
  <p><a href="https://i.stack.imgur.com/f7Frh.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/f7Frh.png" alt="enter image description here" /></a></p>
  <p>This is an exponential curve.</p>
  <ol>
  <li><p>How can I fit line on this curve without knowing the formula ? I can't use 'nls' as the formula is unknown (only data points are given).</p>
  </li>
  <li><p>How can I get the equation for this curve and determine the constants  in the equation?<br />
  I tried loess but it doesn't give the intercepts.</p>
  </li>
  </ol>