title: Euclidean Distance for three (or more) vectors
body: <p>Say I have the following:</p>
  
  <pre><code>a &lt;- c(7,1,9,1,3)
  b &lt;- c(4,9,1,3,1)
  c &lt;- c(9,1,7,2,2)
  </code></pre>
  
  <p>I know I can get the Euclidean distance of any two of the vectors by doing the following:</p>
  
  <p>dist(rbind(a, b))</p>
  
  <p>Is there a way in R I can get the distances of all possible combinations (i.e, A &amp; B, A &amp; C and B &amp; C), in a single statement?</p>