Question

With reference to the lecture slides (Lecture 5), create the distribution of average

nearest neighbor distances from 99 random simulated draws within each of the

respective datasets' polygons from (3).

a. Plot the histogram (function hist()) of the simulated distribution of means

and place a vertical line on that plot at the location of the observed nearest

neighbor distance from (4) as a vertical line and another line showing the

theoretically expected value from (5).

b. Determine the probability that the observed nearest neighbor mean comes

from that distribution (the monte-carlo p-value).

C. Explain your conclusion.