title: Convolution of densities
body: <p>If x is the data and hist$density gives me the empirical densities how do I obtain the convolution of x with itself. Convolve() gives me a lot of possibilities but I am not sure what to use. I need a function for this: <a href="http://en.wikipedia.org/wiki/Convolution#Discrete_convolution" rel="nofollow">http://en.wikipedia.org/wiki/Convolution#Discrete_convolution</a> (actually just the real case would suffice)</p>
  
  <p>Simple test: convolution of Bernoullies gives me a Binomial </p>
  
  <p>Pr=c(0.7, 0.3)</p>
  
  <p>Right answer should be a Binomial of parameters n=2 p=0.3</p>