Species Rank Surface and generalized dimension - Manuscript & R code