spatstat (version 1.47-0)

residualspaper: Data and Code From JRSS Discussion Paper on Residuals

Description

This dataset contains the point patterns used as examples in the paper of Baddeley et al (2005). [Figure 2 is already available in spatstat as the copper dataset.]

R code is also provided to reproduce all the Figures displayed in Baddeley et al (2005). The component plotfig is a function, which can be called with a numeric or character argument specifying the Figure or Figures that should be plotted. See the Examples.

Usage

data(residualspaper)

Arguments

Format

residualspaper is a list with the following components:

Source

Figure 1: Prof M. Numata. Data kindly supplied by Professor Y. Ogata with kind permission of Prof M. Tanemura. Figure 3: Professor P.J. Diggle (rescaled by \adrian) Figure 4 (a,b,c): \adrian

References

Baddeley, A., Turner, R., Moller, J. and Hazelton, M. (2005) Residual analysis for spatial point processes. Journal of the Royal Statistical Society, Series B 67, 617--666.

Examples

Run this code

## Not run: 
#   data(residualspaper)
#   
#   X <- residualspaper$Fig4a
#   summary(X)
#   plot(X)
# 
#   # reproduce all Figures
#   residualspaper$plotfig()
# 
#   # reproduce Figures 1 to 10
#   residualspaper$plotfig(1:10)
# 
#   # reproduce Figure 7 (a)
#   residualspaper$plotfig("7a")
# ## End(Not run)

Run the code above in your browser using DataLab