I am trying to calculate some properties of some hypergraphs and I have been using R to do this as it is my main language. To calculate these properties I have constructed some