Geometrical Functionality of the 'spatstat' Family

Defines spatial data types and supports geometrical operations on them. Data types include point patterns, windows (domains), pixel images, line segment patterns, tessellations and hyperframes. Capabilities include creation and manipulation of data (using command line or graphical interaction), plotting, geometrical operations (rotation, shift, rescale, affine transformation), convex hull, discretisation and pixellation, Dirichlet tessellation, Delaunay triangulation, pairwise distances, nearest-neighbour distances, distance transform, morphological operations (erosion, dilation, closing, opening), quadrat counting, geometrical measurement, geometrical covariance, colour maps, calculus on spatial domains, Gaussian blur, level sets of images, transects of images, intersections between objects, minimum distance matching. (Excludes spatial data on a network, which are supported by the package 'spatstat.linnet'.)


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


2.3-1 by Adrian Baddeley, 2 months ago

Report a bug at

Browse source code at

Authors: Adrian Baddeley [aut, cre] , Rolf Turner [aut] , Ege Rubak [aut] , Tilman Davies [ctb] , Ute Hahn [ctb] , Abdollah Jalilian [ctb] , Sebastian Meyer [ctb] , Suman Rakshit [ctb] , Dominic Schuhmacher [ctb] , Rasmus Waagepetersen [ctb]

Documentation:   PDF Manual  

GPL (>= 2) license

Imports spatstat.utils, deldir, polyclip

Depends on, stats, graphics, grDevices, utils, methods

Suggests spatstat.core, spatstat.linnet, maptools, spatial, fftwtools, spatstat

Imported by AROC, Biolinv, CalSim, DRHotNet, ENMTools, ETAS, Ecume, ForestGapR, GmAMisc, IDSpatialStats, MetaLandSim, MtreeRing, NLMR, RImageJROI, ROCnReg, SDALGCP, SIBER, SPUTNIK, Seurat, SpNetPrep, SpatEntropy, SpatialVx, TCIU, ads, biosurvey, colordistance, dbmss, ecespa, expp, foster, geonet, gfilmm, gfilogisreg, graph4lg, hht, highriskzone, idar, imcExperiment, intensitynet, lgcp, lqr, movecost, onpoint, osmplotr, rLiDAR, rcarbon, replicatedpp2w, rgeoprofile, sbw, selectspm, shar, smacpod, spacejamr, sparr, spatialEco, spatialTIME, spatsurv, stlnpp, stpp, surveillance, swfscMisc, tabularaster, treetop, trip, ttbary, utilityFunctionTools.

Depended on by DR.SC, affluenceIndex, dixon, envi, gateR, globalKinhom, lacunaritycovariance, latticeDensity, overlapptest, spagmix, sparrpowR, spatstat, spatstat.Knet, spatstat.core, spatstat.gui, spatstat.linnet, spatstat.local, spatstat.random.

Suggested by GET, autoimage, berryFunctions, imager, inlabru, maptools, mobsim, plotKML, polyCub, sf, sfnetworks,, stars, stats19, trajectories.

See at CRAN