title: Object 'H2_max' not found when trying to compute H2' for a bipartite network
body: <p>I am trying to get a value for <code>H2</code> for a plant pollinator network in R. I have a network matrix as follows:
  <a href="https://i.stack.imgur.com/XA7BV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/XA7BV.png" alt="enter image description here" /></a></p>
  <p>The numerical values represent visits/flowers to account for differences in flower size and abundance for each plant species.</p>
  <p>When I try to find H2' using
  <code>H2fun(intnetwork, H2_integer = FALSE)</code>
  (intnetwork being my network matrix), I get this error every time: <code>Error in ifelse(H2_max &gt;= H2_max.improved, H2_max, H2_max.improved) :  object 'H2_max' not found</code>
  Have tried so many things to try and fix it to no avail.
  Please help!</p>