I am trying to get a value for H2' for a plant pollinator network in r. I have a network matrix as follows: screenshot of network, with the numerical values representing visits/flowers to account for differences in flower size and abundance for each plant species. When I try to find H2' using H2fun(intnetwork, H2_integer = FALSE) (intnetwork being my network matrix), i get this error every time: Error in ifelse(H2_max >= H2_max.improved, H2_max, H2_max.improved) : object 'H2_max' not found Have tried so many things to try and fix it to no avail, Please help!
Aucun commentaire:
Enregistrer un commentaire