title: How to use Chi-square test for exponential distribution in R
body: <p>In my dataset I have 15 observations and I want to test whether this distribution can be represented with an exponential distribution with rate=0.54.
  The variable x is as follows:  </p>
  
  <pre><code>table(x)
  x
  0  1  2  4  5  7  8 10 
  2  1  4  2  2  2  1  1 
  </code></pre>
  
  <p>Any idea how to implement this in R?</p>