Spatstat Quickref
Spatstat Quickref
Spatstat Quickref
Description
This is a summary of the features of spatstat, a family of R packages for the statistical analysis of
spatial point patterns.
Details
spatstat is a family of R packages for the statistical analysis of spatial data. Its main focus is the
analysis of spatial patterns of points in two-dimensional space.
spatstat is designed to support a complete statistical analysis of spatial data. It supports
• creation, manipulation and plotting of point patterns;
• exploratory data analysis;
• spatial random sampling;
• simulation of point process models;
• parametric model-fitting;
• non-parametric smoothing and regression;
• formal inference (hypothesis tests, confidence intervals);
• model diagnostics.
Apart from two-dimensional point patterns and point processes, spatstat also supports point pat-
terns in three dimensions, point patterns in multidimensional space-time, point patterns on a linear
network, patterns of line segments in two dimensions, and spatial tessellations and random sets in
two dimensions.
The package can fit several types of point process models to a point pattern dataset:
• Poisson point process models (by Berman-Turner approximate maximum likelihood or by
spatial logistic regression)
• Gibbs/Markov point process models (by Baddeley-Turner approximate maximum pseudolike-
lihood, Coeurjolly-Rubak logistic likelihood, or Huang-Ogata approximate maximum likeli-
hood)
• Cox/cluster point process models (by Waagepetersen’s two-step fitting procedure and mini-
mum contrast, composite likelihood, or Palm likelihood)
1
2 spatstat-package
• determinantal point process models (by Waagepetersen’s two-step fitting procedure and mini-
mum contrast, composite likelihood, or Palm likelihood)
The models may include spatial trend, dependence on covariates, and complicated interpoint in-
teractions. Models are specified by a formula in the R language, and are fitted using a function
analogous to lm and glm. Fitted models can be printed, plotted, predicted, simulated and so on.
Getting Started
For a quick introduction to spatstat, read the package vignette Getting started with spatstat installed
with spatstat. To read that document, you can either
Once you have installed spatstat, start R and type library(spatstat). Then type beginner for
a beginner’s introduction, or demo(spatstat) for a demonstration of the package’s capabilities.
For a complete course on spatstat, and on statistical analysis of spatial point patterns, read the
book by Baddeley, Rubak and Turner (2015). Other recommended books on spatial point process
methods are Diggle (2014), Gelfand et al (2010) and Illian et al (2008).
The spatstat package includes over 50 datasets, which can be useful when learning the package.
Type demo(data) to see plots of all datasets available in the package. Type vignette('datasets')
for detailed background information on these datasets, and plots of each dataset.
For information on converting your data into spatstat format, read Chapter 3 of Baddeley, Rubak
and Turner (2015). This chapter is available free online, as one of the sample chapters at the book
companion website, https://book.spatstat.org/.
For information about handling data in shapefiles, see Chapter 3, or the Vignette Handling shape-
files in the spatstat package, installed with spatstat, accessible as vignette('shapefiles').
The breakup has been done in such a way that the user should not notice any difference. Source
code that worked with the old spatstat package should work with the new spatstat family. Code
that is documented in our books, journal articles and vignettes should still work.
When you install spatstat, the sub-packages listed above are also installed. Then if you load the
spatstat package by typing library(spatstat), the other sub-packages listed above will auto-
matically be loaded or imported.
This help file covers all the functionality and datasets that are provided in the sub-packages listed
above.
Extension packages
Additionally there are several extension packages:
• spatstat.gui for interactive graphics
• spatstat.local for local likelihood (including geographically weighted regression)
• spatstat.Knet for additional, computationally efficient code for linear networks
• spatstat.sphere (under development) for spatial data on a sphere, including spatial data on the
earth’s surface
The extension packages must be installed separately and loaded explicitly if needed. They also have
separate documentation.
Updates
New versions of spatstat are released every 8 weeks. Users are advised to update their installation
of spatstat regularly.
Type latest.news to read the news documentation about changes to the current installed version
of spatstat.
See the Vignette Summary of recent updates, installed with spatstat, which describes the main
changes to spatstat since the book (Baddeley, Rubak and Turner, 2015) was published. It is acces-
sible as vignette('updates').
Type news(package="spatstat") to read news documentation about all previous versions of the
package.
CONTENTS:
IX. Documentation
To manipulate a window:
Digital approximations:
8 spatstat-package
Pixel images: An object of class "im" represents a pixel image. Such objects are returned by some
of the functions in spatstat including Kmeasure, setcov and density.ppp.
Tessellations
An object of class "tess" represents a tessellation.
An object of class "lpp" represents a point pattern on a linear network (for example, road accidents
on a road network).
Hyperframes
A hyperframe is like a data frame, except that the entries may be objects of any kind.
Layered objects
A layered object represents data that should be plotted in successive layers, for example, a back-
ground and a foreground.
Colour maps
spatstat-package 13
A colour map is a mechanism for associating colours with data. It can be regarded as a function,
mapping data to colours. Using a colourmap object in a plot command ensures that the mapping
from numbers to colours is the same in different plots.
Smoothing:
Summary statistics for a point pattern: Type demo(sumfun) for a demonstration of many of the
summary statistics.
14 spatstat-package
Related facilities:
Summary statistics for a multitype point pattern: A multitype point pattern is represented by an
object X of class "ppp" such that marks(X) is a factor.
Summary statistics for a marked point pattern: A marked point pattern is represented by an
object X of class "ppp" with a component X$marks. The entries in the vector X$marks may be
numeric, complex, string or any other atomic type. For numeric marks, there are the following
functions:
Alternatively use cut.ppp to convert a marked point pattern to a multitype point pattern.
Programming tools:
Related facilities:
It is also possible to fit point process models to lpp objects. See Section IV.
Summary statistics for a three-dimensional point pattern:
These are for 3-dimensional point pattern objects (class pp3).
K3est K-function
pcf3est pair correlation function
Related facilities:
envelope.pp3 simulation envelopes
pairdist.pp3 distances between all pairs of points
crossdist.pp3 distances between points in two patterns
nndist.pp3 nearest neighbour distances
nnwhich.pp3 find nearest neighbours
nncross.pp3 find nearest neighbours in another pattern
For model selection, you can also use the generic functions step, drop1 and AIC on fitted point
process models. For variable selection, see sdr.
18 spatstat-package
The theoretical models can also be simulated, for any choice of parameter values, using rThomas,
rMatClust, rCauchy, rVarGamma, and rLGCP.
Lower-level fitting functions include:
command model
ppm(X) Complete Spatial Randomness
ppm(X ~ 1) Complete Spatial Randomness
ppm(X ~ x) Poisson process with
intensity loglinear in x coordinate
ppm(X ~ 1, Strauss(0.1)) Stationary Strauss process
ppm(X ~ x, Strauss(0.1)) Strauss process with
conditional intensity loglinear in x
For model selection, you can also use the generic functions step, drop1 and AIC on fitted point
process models. For variable selection, see sdr.
See spatstat.options to control plotting of fitted model.
To specify a point process model:
The first order “trend” of the model is determined by an R language formula. The formula specifies
the form of the logarithm of the trend.
The higher order (“interaction”) components are described by an object of class "interact". Such
objects are created by:
Note that it is also possible to combine several such interactions using Hybrid.
Finer control over model fitting:
A quadrature scheme is represented by an object of class "quad". To create a quadrature scheme,
typically use quadscheme.
A quadrature scheme consists of data points, dummy points, and weights. To generate dummy
points:
To compute weights:
command model
slrm(X ~ 1) Complete Spatial Randomness
slrm(X ~ x) Poisson process with
intensity loglinear in x coordinate
slrm(X ~ Z) Poisson process with
22 spatstat-package
There are many other undocumented methods for this class, including methods for print, update,
formula and terms. Stepwise model selection is possible using step or stepAIC. For variable
selection, see sdr.
VII. SIMULATION
There are many ways to generate a random point pattern, line segment pattern, pixel image or
tessellation in spatstat.
Random point patterns:
See also varblock for estimating the variance of a summary statistic by block resampling, and
lohboot for another bootstrap technique.
Fitted point process models:
If you have fitted a point process model to a point pattern dataset, the fitted model can be simulated.
Cluster process models are fitted by the function kppm yielding an object of class "kppm". To
generate one or more simulated realisations of this fitted model, use simulate.kppm.
Gibbs point process models are fitted by the function ppm yielding an object of class "ppm". To
generate a simulated realisation of this fitted model, use rmh. To generate one or more simulated
realisations of the fitted model, use simulate.ppm.
Other random patterns:
Simulation-based inference
Sensitivity diagnostics:
Classical measures of model sensitivity such as leverage and influence have been adapted to point
process models.
Residual diagnostics:
Residuals for a fitted point process model, and diagnostic plots based on the residuals, were intro-
duced in Baddeley et al (2005) and Baddeley, Rubak and Møller (2011).
Type demo(diagnose) for a demonstration of the diagnostics features.
IX. DOCUMENTATION
The online manual entries are quite detailed and should be consulted first for information about a
particular function.
The book Baddeley, Rubak and Turner (2015) is a complete course on analysing spatial point pat-
terns, with full details about spatstat.
Older material (which is now out-of-date but is freely available) includes Baddeley and Turner
(2005a), a brief overview of the package in its early development; Baddeley and Turner (2005b),
a more detailed explanation of how to fit point process models to data; and Baddeley (2010), a
complete set of notes from a 2-day workshop on the use of spatstat.
Type citation("spatstat") to get a list of these references.
Licence
This library and its documentation are usable under the terms of the "GNU General Public License",
a copy of which is distributed with the package.
Acknowledgements
Kasper Klitgaard Berthelsen, Ottmar Cronie, Tilman Davies, Yongtao Guan, Ute Hahn, Abdol-
lah Jalilian, Marie-Colette van Lieshout, Greg McSwiggan, Tuomas Rajala, Suman Rakshit, Do-
minic Schuhmacher, Rasmus Waagepetersen and Hangsheng Wang made substantial contributions
of code.
Additional contributions and suggestions from Monsuru Adepeju, Corey Anderson, Ang Qi Wei,
Ryan Arellano, Jens Åström, Robert Aue, Marcel Austenfeld, Sandro Azaele, Malissa Baddeley,
Guy Bayegnak, Colin Beale, Melanie Bell, Thomas Bendtsen, Ricardo Bernhardt, Andrew Be-
van, Brad Biggerstaff, Anders Bilgrau, Leanne Bischof, Christophe Biscio, Roger Bivand, Jose M.
Blanco Moreno, Florent Bonneu, Jordan Brown, Ian Buller, Julian Burgos, Simon Byers, Ya-Mei
Chang, Jianbao Chen, Igor Chernayavsky, Y.C. Chin, Bjarke Christensen, Lucía Cobo Sanchez,
Jean-François Coeurjolly, Kim Colyvas, Hadrien Commenges, Rochelle Constantine, Robin Corria
Ainslie, Richard Cotton, Marcelino de la Cruz, Peter Dalgaard, Mario D’Antuono, Sourav Das, Pe-
ter Diggle, Patrick Donnelly, Ian Dryden, Stephen Eglen, Ahmed El-Gabbas, Belarmain Fandohan,
Olivier Flores, David Ford, Peter Forbes, Shane Frank, Janet Franklin, Funwi-Gabga Neba, Oscar
Garcia, Agnes Gault, Jonas Geldmann, Marc Genton, Shaaban Ghalandarayeshi, Julian Gilbey, Ja-
son Goldstick, Pavel Grabarnik, C. Graf, Ute Hahn, Andrew Hardegen, Martin Bøgsted Hansen,
Martin Hazelton, Juha Heikkinen, Mandy Hering, Markus Herrmann, Maximilian Hesselbarth,
Paul Hewson, Hamidreza Heydarian, Kassel Hingee, Kurt Hornik, Philipp Hunziker, Jack Hy-
wood, Ross Ihaka, C̆enk Içös, Aruna Jammalamadaka, Robert John-Chandran, Devin Johnson,
Mahdieh Khanmohammadi, Bob Klaver, Lily Kozmian-Ledward, Peter Kovesi, Mike Kuhn, Jeff
Laake, Robert Lamb, Frédéric Lavancier, Tom Lawrence, Tomas Lazauskas, Jonathan Lee, George
Leser, Angela Li, Li Haitao, George Limitsios, Andrew Lister, Nestor Luambua, Ben Madin, Mar-
tin Maechler, Daniel Manrique-Castaño, Kiran Marchikanti, Jeff Marcus, Robert Mark, Peter Mc-
Cullagh, Monia Mahling, Jorge Mateu Mahiques, Ulf Mehlig, Frederico Mestre, Sebastian Wastl
Meyer, Mi Xiangcheng, Lore De Middeleer, Robin Milne, Enrique Miranda, Jesper Møller, An-
nie Mollié, Ines Moncada, Mehdi Moradi, Virginia Morera Pujol, Erika Mudrak, Gopalan Nair,
Nader Najari, Nicoletta Nava, Linda Stougaard Nielsen, Felipe Nunes, Jens Randel Nyengaard,
Jens Oehlschlägel, Thierry Onkelinx, Sean O’Riordan, Evgeni Parilov, Jeff Picka, Nicolas Picard,
Tim Pollington, Mike Porter, Sergiy Protsiv, Adrian Raftery, Suman Rakshit, Ben Ramage, Pablo
Ramon, Xavier Raynaud, Nicholas Read, Matt Reiter, Ian Renner, Tom Richardson, Brian Ripley,
Yonatan Rosen, Ted Rosenbaum, Barry Rowlingson, Jason Rudokas, Tyler Rudolph, John Rudge,
Christopher Ryan, Farzaneh Safavimanesh, Aila Särkkä, Cody Schank, Katja Schladitz, Sebastian
Schutte, Bryan Scott, Olivia Semboli, François Sémécurbe, Vadim Shcherbakov, Shen Guochun,
26 spatstat-package
Shi Peijian, Harold-Jeffrey Ship, Tammy L Silva, Ida-Maria Sintorn, Yong Song, Malte Spiess,
Mark Stevenson, Kaspar Stucki, Jan Sulavik, Michael Sumner, P. Surovy, Ben Taylor, Thordis
Linda Thorarinsdottir, Leigh Torres, Berwin Turlach, Torben Tvedebrink, Kevin Ummer, Medha
Uppala, Andrew van Burgel, Tobias Verbeke, Mikko Vihtakari, Alexendre Villers, Fabrice Vinatier,
Maximilian Vogtland, Sasha Voss, Sven Wagner, Hao Wang, H. Wendrock, Jan Wild, Carl G. Wit-
thoft, Selene Wong, Maxime Woringer, Luke Yates, Mike Zamboni and Achim Zeileis.
Author(s)
Adrian Baddeley <[email protected]>, Rolf Turner <[email protected]>
and Ege Rubak <[email protected]>.
References
Baddeley, A. (2010) Analysing spatial point patterns in R. Workshop notes, Version 4.1. Online
technical publication, CSIRO. https://research.csiro.au/software/wp-content/uploads/
sites/6/2015/02/Rspatialcourse_CMIS_PDF-Standard.pdf
Baddeley, A., Rubak, E. and Turner, R. (2015) Spatial Point Patterns: Methodology and Applica-
tions with R. Chapman and Hall/CRC Press.
Baddeley, A. and Turner, R. (2005a) Spatstat: an R package for analyzing spatial point patterns.
Journal of Statistical Software 12:6, 1–42. DOI: 10.18637/jss.v012.i06.
Baddeley, A. and Turner, R. (2005b) Modelling spatial point patterns in R. In: A. Baddeley, P. Gre-
gori, J. Mateu, R. Stoica, and D. Stoyan, editors, Case Studies in Spatial Point Pattern Modelling,
Lecture Notes in Statistics number 185. Pages 23–74. Springer-Verlag, New York, 2006. ISBN:
0-387-28311-0.
Baddeley, A., Turner, R., Møller, J. and Hazelton, M. (2005) Residual analysis for spatial point
processes. Journal of the Royal Statistical Society, Series B 67, 617–666.
Baddeley, A., Rubak, E. and Møller, J. (2011) Score, pseudo-score and residual diagnostics for
spatial point process models. Statistical Science 26, 613–646.
Baddeley, A., Turner, R., Mateu, J. and Bevan, A. (2013) Hybrids of Gibbs point process models
and their implementation. Journal of Statistical Software 55:11, 1–43. https://www.jstatsoft.
org/v55/i11/
Diggle, P.J. (2003) Statistical analysis of spatial point patterns, Second edition. Arnold.
Diggle, P.J. (2014) Statistical Analysis of Spatial and Spatio-Temporal Point Patterns, Third edition.
Chapman and Hall/CRC.
Gelfand, A.E., Diggle, P.J., Fuentes, M. and Guttorp, P., editors (2010) Handbook of Spatial Statis-
tics. CRC Press.
Huang, F. and Ogata, Y. (1999) Improvements of the maximum pseudo-likelihood estimators in
various spatial statistical models. Journal of Computational and Graphical Statistics 8, 510–530.
Illian, J., Penttinen, A., Stoyan, H. and Stoyan, D. (2008) Statistical Analysis and Modelling of
Spatial Point Patterns. Wiley.
Waagepetersen, R. An estimating function approach to inference for inhomogeneous Neyman-Scott
processes. Biometrics 63 (2007) 252–258.
Index
∗ package as.matrix.im, 9
spatstat-package, 1 as.owin, 7
∗ spatial as.polygonal, 8
spatstat-package, 1 as.ppp, 4
[.im, 9 as.psp, 9
[.layered, 12 as.tess, 10
[.ppp, 6
[.psp, 10 BadGey, 19
[.tess, 10 bdist.pixels, 8
[<-.im, 9 bdist.points, 8
[<-.tess, 10 bdist.tiles, 8, 11
bdspots, 5
addvar, 24 beachcolourmap, 13
addVertices, 12 bei, 5
affine, 6, 7 berman.test, 23
affine.im, 9 betacells, 5
affine.psp, 10 bits.envelope, 23
affine.tess, 11 bits.test, 23
AIC, 17, 19 blur, 9
allstats, 14 border, 7
alltypes, 15 boundingbox, 7
amacrine, 5 box3, 11
anemones, 5 boxx, 11
angles.psp, 10 bramblecanes, 5
anova.lppm, 21 bronzefilter, 5
anova.ppm, 19, 23 bw.abram, 13
anova.slrm, 22 bw.CvL, 13
ants, 5 bw.diggle, 13
applynbd, 16 bw.frac, 13
area.owin, 8 bw.ppl, 13
AreaInter, 19 bw.relrisk, 13
as.box3, 11 bw.scott, 13
as.data.frame.hyperframe, 12 bw.smoothppp, 13
as.data.frame.im, 9 bw.stoyan, 13
as.data.frame.owin, 7 by.ppp, 6
as.data.frame.psp, 10
as.function.im, 9 cauchy.estK, 18
as.hyperframe, 11, 12 cauchy.estpcf, 18
as.im, 8 cbind.hyperframe, 12
as.im.owin, 8 cdf.test, 23
as.im.ppp, 7 cells, 5
as.interact, 19 centroid.owin, 8
as.mask, 8 chicago, 5, 12
as.mask.psp, 10 chop.tess, 10
27
28 INDEX
chorley, 5 densityHeat.lpp, 16
clarkevans, 13 densityHeat.ppp, 6, 15
clarkevans.test, 23 deriv.fv, 14
clickbox, 7 dfbetas.ppm, 24
clickdist, 8 dffit.ppm, 24
clickjoin, 12 dg.test, 23
clickpoly, 7 diagnose.ppm, 24
clickppp, 4 diameter.box3, 11
clmfires, 5 diameter.boxx, 11
closing, 7 diameter.owin, 8
clusterfield, 17 DiggleGatesStibbard, 19
clusterradius, 17 DiggleGratton, 19
clusterset, 13 dilated.areas, 8
coef.kppm, 17 dilation, 7
coef.ppm, 18 dirichlet, 7, 10
coef.slrm, 22 dirichletNetwork, 12
colourmap, 13 dirichletWeights, 20
commonGrid, 8, 9 disc, 7
compareFit, 24 discretise, 7
compatible.im, 9 distfun, 14
complement.owin, 7 distfun.lpp, 16
Concom, 19 distfun.owin, 8
connected.im, 9 distfun.psp, 10
connected.owin, 8 distmap, 14
connected.ppp, 7 distmap.owin, 8
connected.tess, 11 distmap.psp, 10
contour.im, 9 dppm, 21
convexhull, 7, 8 drop1, 17, 19
convolve.im, 9 duplicated.ppp, 7
coords, 6, 11
copper, 5 edges, 8, 9
corners, 20 edit.ppp, 6
crossdist, 14 effectfun, 19
crossdist.lpp, 16 ellipse, 7
crossdist.pp3, 17 Emark, 15
crossdist.ppx, 17 endpoints.psp, 10
crossing.psp, 10 envelope, 14, 21, 23
cut.im, 9 envelope.lpp, 16
cut.ppp, 6, 16 envelope.lppm, 21
envelope.pp3, 11, 17
data, 5 eroded.areas, 8
dclf.progress, 23 eroded.volumes, 11
dclf.test, 23 eroded.volumes.boxx, 11
default.dummy, 20 erosion, 7
delaunay, 7, 10 eval.fasp, 14
delaunayDistance, 7 eval.fv, 14
delaunayNetwork, 12 eval.im, 9
demohyper, 5 eval.linim, 21
demopat, 5 exactdt, 14
dendrite, 5, 12 extrapolate.psp, 10
density.lpp, 16
density.ppp, 6, 8, 13, 15 F3est, 16
density.psp, 10 Fest, 14
INDEX 29
Fiksel, 19 imcov, 9
Finhom, 14 improve.kppm, 17
finpines, 5 incircle, 8
fitin, 19 influence.ppm, 24
fitted.kppm, 17 inradius, 8
fitted.lppm, 21 insertVertices, 12
fitted.ppm, 19 inside.owin, 8
fitted.slrm, 22 integral.im, 9
flipxy, 6, 7, 10 intensity, 14
flipxy.tess, 11 intensity.ppm, 19
flu, 5 intensity.quadratcount, 14
formula.kppm, 17 interp.colourmap, 13
formula.ppm, 19 interp.im, 9
Frame, 7 intersect.owin, 8
fryplot, 13 intersect.tess, 10
is.convex, 8
G3est, 16 is.hybrid, 19
Gcom, 24 is.im, 9
Gcross, 15 is.mask, 8
Gdot, 15 is.polygonal, 8
Gest, 14 is.psp, 9
Geyer, 19 is.rectangle, 8
Gfox, 17 is.subset.owin, 8
Ginhom, 14
glm, 2 japanesepines, 5
Gmulti, 15 Jcross, 15
gordon, 5 Jdot, 15
gorillas, 5 Jest, 14
Gres, 24 Jfox, 17
gridcentres, 20 Jinhom, 14
gridweights, 20 Jmulti, 15
joinVertices, 12
hamster, 5
Hardcore, 20 K3est, 17
harmonise.fv, 14 Kcom, 24
harmonise.im, 9 Kcross, 15
head.hyperframe, 12 Kcross.inhom, 15
Hest, 17 Kdot, 15
hextess, 10 Kdot.inhom, 15
HierHard, 20 Kest, 14
HierStrauss, 20 Kest.fft, 14
HierStraussHard, 20 Kinhom, 14
hist.im, 9 Kmark, 15
hsvim, 9 Kmeasure, 8, 14
humberside, 5 Kmodel.kppm, 17
Hybrid, 20 Kmodel.ppm, 19
hyperframe, 12 Kmulti, 15
hyytiala, 5 kppm, 17, 23
Kres, 24
identify.ppp, 6 Kscaled, 14
Iest, 15 Ksector, 14
im, 4, 8
im.apply, 9 lansing, 5
30 INDEX
layered, 12 mad.test, 23
Lcross, 15 markconnect, 15
Lcross.inhom, 15 markcorr, 15
Ldot, 15 markcrosscorr, 15
Ldot.inhom, 15 markmarkscatter, 15
lengths_psp, 10 markmean, 15
LennardJones, 20 marks, 6
Lest, 14 marks.psp, 10
letterR, 7 marks<-, 4
levelset, 9 marks<-.psp, 10
leverage.ppm, 24 markstat, 16
lgcp.estK, 18 marktable, 16
lgcp.estpcf, 18 markvar, 15
lineardisc, 12 markvario, 15
linearK, 16 matclust.estK, 18
linearKcross, 16 matclust.estpcf, 18
linearKcross.inhom, 16 mean.im, 9
linearKdot, 16 methods.linfun, 21
linearKdot.inhom, 16 methods.linnet, 12
linearKinhom, 16 methods.lpp, 12
linearmarkconnect, 16 midpoints.psp, 10
linearmarkequal, 16 mincontrast, 18
linearpcf, 16 miplot, 13
linearpcfcross, 16 model.depends, 19
linearpcfcross.inhom, 16 model.frame.ppm, 19
linearpcfdot, 16 model.images, 19
linearpcfdot.inhom, 16 mucosa, 6
linearpcfinhom, 16 MultiHard, 20
linfun, 21 MultiStrauss, 20
Linhom, 14 MultiStraussHard, 20
linim, 21 murchison, 6
linnet, 12
lm, 2 nbfires, 6
localK, 14 nearest.raster.point, 8
localKcross, 15 nearestsegment, 10
localKcross.inhom, 15 nnclean, 13
localKdot, 15 nncross, 10, 14
localKinhom, 14 nncross.lpp, 16
localL, 14 nncross.pp3, 17
localLcross, 15 nndist, 14
localLcross.inhom, 15 nndist.lpp, 16
localLdot, 15 nndist.pp3, 17
localLinhom, 14 nndist.ppx, 17
localpcf, 14 nnfun, 14
localpcfinhom, 14 nnfun.lpp, 16
logLik.ppm, 19 nnmap, 14
logLik.slrm, 22 nnmark, 6
lohboot, 14, 23 nnmean, 15
longleaf, 6 nnvario, 15
lpp, 4, 12 nnwhich, 14
lppm, 21 nnwhich.lpp, 16
nnwhich.pp3, 17
mad.progress, 24 nnwhich.ppx, 17
INDEX 31
npoints, 6, 11 pointsOnLines, 10
nztrees, 6 Poisson, 19
polartess, 10
opening, 7 ponderosa, 6
Ord, 20 pool.fv, 14
OrdThresh, 20 pp3, 4, 11
osteo, 6 ppm, 18, 23
owin, 4, 7 ppp, 4
pppdist, 16
pairdist, 14 ppx, 4, 11
pairdist.lpp, 16 predict.kppm, 17
pairdist.pp3, 17 predict.lppm, 21
pairdist.ppx, 17 predict.ppm, 18
PairPiece, 20 predict.slrm, 22
Pairwise, 20 print.ppm, 19
paracou, 6 print.psp, 9
parameters, 17, 19 project.ppm, 19
parres, 24 project2segment, 10
pcf, 13, 14 psp, 4, 9
pcf3est, 17 psst, 24
pcfcross, 15 psstA, 24
pcfcross.inhom, 15 psstG, 24
pcfdot, 15 pyramidal, 6
pcfdot.inhom, 15
pcfinhom, 14 qqplot.ppm, 23, 24
pcfmodel.kppm, 17 quad, 20
pcfmodel.ppm, 19 quadrat.test, 23
pcfmulti, 15 quadratcount, 14
Penttinen, 20 quadratresample, 5, 23, 24
perimeter, 8 quadrats, 10
periodify, 6, 7, 10 quadscheme, 20
persp.im, 9 quantess, 10
pixelcentres, 8, 9 quantile.im, 9
pixellate, 8
pixellate.linnet, 12 raster.x, 8
pixellate.owin, 8 raster.xy, 8
pixellate.ppp, 7 raster.y, 8
pixellate.psp, 10 rbind.hyperframe, 12
pixelquad, 20 rCauchy, 5, 18, 22
plot.colourmap, 13 rcell, 5, 22
plot.fv, 14 rDGS, 4, 22
plot.hyperframe, 12 rDiggleGratton, 4, 22
plot.im, 9 redwood, 6
plot.kppm, 17 redwoodfull, 6
plot.layered, 12 reflect, 6
plot.linim, 21 reflect.tess, 11
plot.owin, 7 relrisk, 13, 15
plot.pp3, 11 repairNetwork, 12
plot.ppm, 18 residuals.ppm, 19
plot.ppp, 6 residualspaper, 6, 24
plot.psp, 9 rGaussPoisson, 5, 22
plot.slrm, 22 rgbim, 9
plot.tess, 10 rHardcore, 4, 22
32 INDEX
superimpose, 6, 10
swedishpines, 6
tail.hyperframe, 12
tess, 4, 10
thinNetwork, 12
thomas.estK, 18
thomas.estpcf, 18
tile.areas, 11
tiles, 10
transect.im, 9
transmat, 9
triangulate.owin, 8
Triplets, 20
Tstat, 14
tweak.colourmap, 13
union.owin, 8
unique.ppp, 6
uniquemap.ppp, 7
unitname.box3, 11
unitname.pp3, 11
unitname.ppx, 11
unmark, 6
unmark.psp, 10
update.kppm, 17
update.ppm, 19
urkiola, 6
valid.ppm, 19
varblock, 14, 23
vargamma.estK, 18
vargamma.estpcf, 18
vcov.kppm, 17
vcov.ppm, 19
vcov.slrm, 22
venn.tess, 10
vertices.linnet, 12
Vmark, 15
volume.box3, 11
volume.boxx, 11
waka, 6
waterstriders, 6
Window, 7
with.fv, 14
with.hyperframe, 12
zapsmall.im, 9