title: Unexpected 'else' in "else" error
body: <p>I get this error:</p>
  
  <blockquote>
    <p>Error: unexpected 'else' in " else"</p>
  </blockquote>
  
  <p>From this <code>if, else</code> statement:</p>
  
  <pre><code>if (dsnt&lt;0.05) {
       wilcox.test(distance[result=='nt'],distance[result=='t'],alternative=c("two.sided"),paired=TRUE) }
  else {
        if (dst&lt;0.05) {
  wilcox.test(distance[result=='nt'],distance[result=='t'],alternative=c("two.sided"),paired=TRUE) }
     else {
           t.test(distance[result=='nt'],distance[result=='t'],alternative=c("two.sided"),paired=TRUE)       } }
  </code></pre>
  
  <p>What is wrong with this?</p>