title: How do I fix a dissimilarities error in an adonis2 test in r?
body: <p>I've just tried to carry out an adonis2 test using the following code</p>
  <p><code>adonis2(abundance.data~Site, data=df, method=&quot;bray&quot;)</code> as in a previous post <a href="https://stackoverflow.com/questions/72588478/how-can-i-fix-an-error-with-adonis2-test">How can I fix an error with adonis2 test?</a></p>
  <p>However I keep getting this error message</p>
  <blockquote>
  <p>Error in if (any(lhs &lt; -TOL)) stop(&quot;dissimilarities must be non-negative&quot;) :
  missing value where TRUE/FALSE needed
  In addition: Warning messages:
  1: In vegdist(as.matrix(lhs), method = method, ...) :
  you have empty rows: their dissimilarities may be
  meaningless in method “bray”
  2: In vegdist(as.matrix(lhs), method = method, ...) :
  missing values in results</p>
  </blockquote>
  <p>Just wondering why this may be and how I can fix this issue</p>