title: Error in G * t(hat) : non-conformable arrays
body: <p>Trying to carry out a PERMANOVA using adonis in R. Added in my data table and factors, however, I keep getting the sample error - Error in G * t(hat) : non-conformable arrays </p>
  
  <p>There is no N/A data, and it works with a ready made matrix of data and a subset of my own data table.</p>
  
  <p>Sample data that doesn't work;</p>
  
  <pre><code>subset&lt;-matrix(c(0,0.000666667,0.001333333,0.000333333,0.000333333,0.019833333,0.007666667,0.014666667,0.0005,0.022833333,0.016833333,0.018166667,0.000666667,0.009666667,0.008833333,0.009166667,0.001333333,0.018666667,0.0295,0.031833333),ncol=4)
  
  test_groups&lt;-c(1,1,2,2)
  adonis(subset~test_groups)
  </code></pre>
  
  <blockquote>
    <p>Error in G * t(hat) : non-conformable arrays</p>
  </blockquote>
  
  <p>Test data that does work;</p>
  
  <pre><code>test&lt;-matrix(data=c(0.1,0.1,0.3,0.1,0.2,0.3,0.1,0,0.3,0.1,0.2,0.3,0.1,0.2,0.3,0.1),ncol=4)
  </code></pre>
  
  <p>Why doesn't it work?</p>