getCommunitySlope function

Calculate the slope of the community abundance