New methods for analysing relationship between diversity and spatial dependence in plant communities