
294 Data Analysis and Statistics for Geography, Environmental Science, and Engineering
patterndataset. We do not reproduce these functions here for the sake of space. You can study the
functions from the console.
Apply function nnGKenv.ppp to examine the G for the pois100xy pattern and 100
simulation runs. The parameter nsim is the number of Monte Carlo realizations or simulated
patterns.
>nnGKenv.ppp (unif100xy,nsim=100)
This will plot the G for the mean of the Monte Carlo runs (horizontal axis) vs. the G for the data
(vertical axis) and the simulated pattern (Figure 8.31, top panel). This approach is also employed
with the second-order statistic, ...