I have been using the spatstat package to determine if a point pattern is clustered, random or regular by comparing it to relative frequency distribution of nea
spatstat