Learn R Programming

⚠️There's a newer version (3.3-1) of this package.Take me there.

spatstat (version 1.20-3)

Spatial Point Pattern analysis, model-fitting, simulation, tests

Description

A package for analysing spatial data, mainly Spatial Point Patterns, including multitype/marked points and spatial covariates, in any two-dimensional spatial region. Also supports three-dimensional point patterns, and space-time point patterns in any number of dimensions. Contains functions for plotting spatial data, exploratory data analysis, model-fitting, simulation, spatial sampling, model diagnostics, and formal inference. Data types include point patterns, line segment patterns, spatial windows, pixel images and tessellations. Point process models can be fitted to point pattern data. Cluster type models are fitted by the method of minimum contrast. Very general Gibbs point process models can be fitted to point pattern data using a function ppm similar to lm or glm. Models may include dependence on covariates, interpoint interaction and dependence on marks. Fitted models can be simulated automatically. Also provides facilities for formal inference (such as chi-squared tests) and model diagnostics (including simulation envelopes, residuals, residual plots and Q-Q plots).

Copy Link

Version

Install

install.packages('spatstat')

Monthly Downloads

16,590

Version

1.20-3

License

GPL (>= 2)

Maintainer

Adrian Baddeley

Last Published

August 24th, 2010

Functions in spatstat (1.20-3)

DiggleGratton

Diggle-Gratton model
Lcross

Multitype L-function (cross-type)
bei

Tropical rain forest trees
Geyer

Geyer's Saturation Point Process Model
MultiStrauss

The Multitype Strauss Point Process Model
Kest

K-function
Extract.im

Extract Subset of Image
LennardJones

The Lennard-Jones Potential
G3est

Nearest Neighbour Distance Distribution Function of a Three-Dimensional Point Pattern
affine.psp

Apply Affine Transformation To Line Segment Pattern
Kmulti

Marked K-Function
Extract.psp

Extract Subset of Line Segment Pattern
Jmulti

Marked J Function
Lest

L-function
Hest

Spherical Contact Distribution Function
betacells

Beta Ganglion Cells in Cat Retina
areaGain

Difference of Disc Areas
Strauss

The Strauss Point Process Model
Gmulti

Marked Nearest Neighbour Distance Function
StraussHard

The Strauss / Hard Core Point Process Model
as.polygonal

Convert a Window to a Polygonal Window
Extract.quad

Subset of Quadrature Scheme
crossdist.ppx

Pairwise Distances Between Two Different Multi-Dimensional Point Patterns
as.hyperframe

Convert Data to Hyperframe
as.mask

Pixel Image Approximation of a Window
bounding.box.xy

Convex Hull of Points
Linhom

L-function
BadGey

Hybrid Geyer Point Process Model
as.data.frame.im

Convert Pixel Image to Data Frame
bermantest

Berman's Tests for Point Process Model
OrdThresh

Ord's Interaction model
Ldot

Multitype L-function (i-to-any)
crossdist.psp

Pairwise distances between two different line segment patterns
Kinhom

Inhomogeneous K-function
affine

Apply Affine Transformation
as.rectangle

Window Frame
colourtools

Convert and Compare Colours in Different Formats
DiggleGatesStibbard

Diggle-Gates-Stibbard Point Process Model
ants

Harkness-Isham ants' nests data
distfun

Distance Map as a Function
Saturated

Saturated Pairwise Interaction model
areaLoss

Difference of Disc Areas
as.ppp

Convert Data To Class ppp
Extract.fasp

Extract Subset of Function Array
Extract.listof

Extract or Replace Subset of a List of Things
disc

Circular Window
as.hyperframe.ppx

Extract coordinates and marks of multidimensional point pattern
bdist.pixels

Distance to Boundary of Window
alltypes

Calculate Summary Statistic for All Types in a Multitype Point Pattern
bramblecanes

Hutchings' Bramble Canes data
hist.im

Histogram of Pixel Values in an Image
Lcross.inhom

Inhomogeneous Cross Type L Function
Kcross.inhom

Inhomogeneous Cross K Function
dirichlet.weights

Compute Quadrature Weights Based on Dirichlet Tessellation
infline

Infinite Straight Lines
centroid.owin

Centroid of a window
interp.im

Interpolate a Pixel Image
bounding.box

Bounding Box of a Window or Point Pattern
Gfox

Foxall's Distance Functions
boxx

Multi-Dimensional Box
diameter.boxx

Geometrical Calculations for Multi-Dimensional Box
clickpoly

Interactively Define a Polygon
fasp.object

Function Arrays for Spatial Patterns
bronzefilter

Bronze gradient filter data
affine.owin

Apply Affine Transformation To Window
latest.news

Print News About Latest Version of Package
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
AreaInter

The Area Interaction Point Process Model
Pairwise

Generic Pairwise Interaction model
MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
density.ppp

Kernel Smoothed Intensity of Point Pattern
as.im

Convert to Pixel Image
finpines

Pine saplings in Finland.
crossing.psp

Crossing Points of Two Line Segment Patterns
heather

Diggle's Heather Data
corners

Corners of a rectangle
as.data.frame.ppp

Coerce Point Pattern to a Data Frame
default.expand

Compute Expansion Window for Simulation
osteo

Osteocyte Lacunae Data: Replicated Three-Dimensional Point Patterns
as.box3

Convert Data to Three-Dimensional Box
effectfun

Compute Fitted Effect of a Spatial Covariate in a Point Process Model
markvario

Mark Variogram
as.psp

Convert Data To Class psp
dilation

Morphological Dilation
eem

Exponential Energy Marks
fv.object

Data Frames of Function Values
as.data.frame.hyperframe

Coerce Hyperframe to Data Frame
gpc2owin

Convert Polygonal Region into Different Format
diameter

Diameter of an Object
Jdot

Multitype J Function (i-to-any)
adaptive.density

Intensity Estimate of Point Pattern Using Tessellation
Gdot

Multitype Nearest Neighbour Distance Function (i-to-any)
convexhull.xy

Convex Hull of Points
is.im

Test Whether An Object Is A Pixel Image
is.convex

Test Whether a Window is Convex
Softcore

The Soft Core Point Process Model
anova.ppm

ANOVA for Fitted Point Process Models
fryplot

Fry Plot of Point Pattern
applynbd

Apply Function to Every Neighbourhood in a Point Pattern
lansing

Lansing Woods Point Pattern
angles.psp

Orientation Angles of Line Segments
matclust.estpcf

Fit the Matern Cluster Point Process by Minimum Contrast Using Pair Correlation
complement.owin

Take Complement of a Window
cut.ppp

Classify Points in a Point Pattern
japanesepines

Japanese Pines Point Pattern
pcf.fv

Pair Correlation Function obtained from K Function
nncross

Nearest Neighbours Between Two Patterns
contour.im

Contour plot of pixel image
Fest

Estimate the empty space function F
eval.fasp

Evaluate Expression Involving Function Arrays
distmap

Distance Map
Extract.tess

Extract or Replace Subset of Tessellation
box3

Three-Dimensional Box
pcfinhom

Inhomogeneous Pair Correlation Function
Extract.fv

Extract Subset of Function Values
Kdot

Multitype K Function (i-to-any)
is.owin

Test Whether An Object Is A Window
spatstat-deprecated

Deprecated spatstat functions
Jest

Estimate the J-function
crossdist

Pairwise distances
discpartarea

Area of Part of Disc
Extract.ppp

Extract or Replace Subset of Point Pattern
reduced.sample

Reduced Sample Estimator using Histogram Data
pppmatching

Create a Point Matching
im

Create a Pixel Image Object
quad.object

Class of Quadrature Schemes
anemones

Beadlet Anemones Data
bdist.tiles

Distance to Boundary of Window
miplot

Morishita Index Plot
allstats

Calculate four standard summary functions of a point pattern.
km.rs

Kaplan-Meier and Reduced Sample Estimator using Histograms
Kest.fft

K-function using FFT
clarkevans

Clark and Evans Aggregation Index
is.multitype.ppm

Test Whether A Point Process Model is Multitype
istat

Point and Click Interface for Exploratory Analysis of Point Pattern
Emark

Diagnostics for random marking
Kmeasure

Reduced Second Moment Measure
pixelquad

Quadrature Scheme Based on Pixel Grid
project2segment

Move Point To Nearest Line
owin.object

Class owin
append.psp

Combine Two Line Segment Patterns
plot.im

Plot a Pixel Image
rmh

Simulate point patterns using the Metropolis-Hastings algorithm.
as.matrix.im

Convert Pixel Image to Matrix
pppdist

Distance Between Two Point Patterns
mincontrast

Method of Minimum Contrast
Hardcore

The Hard Core Point Process Model
diagnose.ppm

Diagnostic Plots for Fitted Point Process Model
as.tess

Convert Data To Tessellation
pairdist.ppx

Pairwise Distances in Any Dimensions
Iest

Estimate the I-function
nztrees

New Zealand Trees Point Pattern
is.empty

Test Whether An Object Is Empty
rpoisppx

Generate Poisson Point Pattern in Any Dimensions
copper

Berman-Huntington points and lines data
rotate.ppp

Rotate a Point Pattern
area.owin

Area of a Window
compatible.fv

Test Whether Two Function Objects Are Compatible
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
convexhull

Convex Hull
shift.owin

Apply Vector Translation To Window
dirichlet

Dirichlet Tessellation of Point Pattern
selfcrossing.psp

Crossing Points in a Line Segment Pattern
rmpoispp

Generate Multitype Poisson Point Pattern
plot.fv

Plot Function Values
lut

Lookup Tables
ganglia

Beta Ganglion Cells in Cat Retina, Old Version
Kdot.inhom

Inhomogeneous Multitype K Dot Function
is.marked.ppm

Test Whether A Point Process Model is Marked
rMaternI

Simulate Matern Model I
plot.quad

plot a Spatial Quadrature Scheme
predict.kppm

Prediction from a Fitted Cluster Point Process Model
intersect.tess

Intersection of Two Tessellations
distmap.ppp

Distance Map of Point Pattern
rescale.owin

Convert Window to Another Unit of Length
blur

Apply Gaussian Blur to a Pixel Image
matchingdist

Distance for a Point Pattern Matching
rmhmodel.list

Define Point Process Model for Metropolis-Hastings Simulation.
clickppp

Interactively Add Points
closing

Morphological Closing
affine.ppp

Apply Affine Transformation To Point Pattern
bind.fv

Combine Function Value Tables
nearestsegment

Find Line Segment Nearest to Each Point
plot.plotppm

Plot a plotppm Object Created by plot.ppm
border

Border Region of a Window
is.ppm

Test Whether An Object Is A Fitted Point Process Model
rstrat

Simulate Stratified Random Point Pattern
harmonic

Basis for Harmonic Functions
Ldot.inhom

Inhomogeneous Multitype L Dot Function
by.im

Apply Function to Image Broken Down by Factor
plot.listof

Plot a List of Things
nnwhich.pp3

Nearest neighbours in three dimensions
Gest

Nearest Neighbour Distance Function G
delaunay

Delaunay Triangulation of Point Pattern
hyperframe

Hyper Data Frame
Ord

Generic Ord Interaction model
rpoislinetess

Poisson Line Tessellation
nearest.raster.point

Find Pixel Nearest to a Given Point
rMosaicSet

Mosaic Random Set
eval.im

Evaluate Expression Involving Pixel Images
cells

Biological Cells Point Pattern
concatxy

Concatenate x,y Coordinate Vectors
bdist.points

Distance to Boundary of Window
quadratresample

Resample a Point Pattern by Resampling Quadrats
rmh.default

Simulate Point Process Models using the Metropolis-Hastings Algorithm.
unmark

Remove Marks
compatible.fasp

Test Whether Two Function Arrays Are Compatible
Extract.splitppp

Extract or Replace Sub-Patterns
plot.tess

Plot a tessellation
ppp

Create a Point Pattern
by.ppp

Apply a Function to a Point Pattern Broken Down by Factor
nbfires

Point Patterns of New Brunswick Forest Fires
fitin.ppm

Extract the Interaction from a Fitted Point Process Model
rescue.rectangle

Convert Window Back To Rectangle
matclust.estK

Fit the Matern Cluster Point Process by Minimum Contrast
diameter.box3

Geometrical Calculations for Three-Dimensional Box
im.object

Class of Images
update.kppm

Update a Fitted Cluster Point Process Model
quadscheme

Generate a Quadrature Scheme from a Point Pattern
vcov.ppm

Variance-Covariance Matrix for a Fitted Point Process Model
kstest.ppm

Kolmogorov-Smirnov Test for Point Process Model
simdat

Simulated Point Pattern
summary.quad

Summarizing a Quadrature Scheme
rotate

Rotate
lengths.psp

Lengths of Line Segments
summary.splitppp

Summary of a Split Point Pattern
envelope

Simulation Envelopes of Summary Function
hamster

Aherne's hamster tumour data
rlinegrid

Generate grid of parallel lines with random displacement
summary.listof

Summary of a List of Things
quad.ppm

Extract Quadrature Scheme Used to Fit a Point Process Model
pixellate

Convert Spatial Object to Pixel Image
dilated.areas

Areas of Morphological Dilations
rshift.splitppp

Randomly Shift a List of Point Patterns
localK

Neighbourhood density function
inforder.family

Infinite Order Interaction Family
plot.envelope

Plot a Simulation Envelope
with.hyperframe

Evaluate an Expression in Each Row of a Hyperframe
rpoisline

Generate Poisson Random Line Process
incircle

Find Largest Circle Inside Window
crossdist.ppp

Pairwise distances between two different point patterns
is.multitype

Test whether Object is Multitype
fv

Create a Function Value Table
as.owin

Convert Data To Class owin
methods.distfun

Methods for Distance Functions
methods.ppx

Methods for Multidimensional Space-Time Point Patterns
crossdist.pp3

Pairwise distances between two different three-dimensional point patterns
SatPiece

Piecewise Constant Saturated Pairwise Interaction Point Process Model
quadrats

Divide Region into Quadrats
print.ppm

Print a Fitted Point Process Model
midpoints.psp

Midpoints of Line Segment Pattern
residuals.ppm

Residuals for Fitted Point Process Model
levelset

Level Set of a Pixel Image
expand.owin

Expand Window By Factor
rmhmodel

Define Point Process Model for Metropolis-Hastings Simulation.
iplot

Point and Click Interface for Displaying a Point Pattern
K3est

K-function of a Three-Dimensional Point Pattern
fitted.ppm

Fitted Conditional Intensity for Point Process Model
pixellate.psp

Convert Line Segment Pattern to Pixel Image
thomas.estK

Fit the Thomas Point Process by Minimum Contrast
mean.im

Maximum, Minimum, Mean, Median, Range or Sum of Pixel Values in an Image
distmap.owin

Distance Map of Window
methods.box3

Methods for Three-Dimensional Box
density.psp

Kernel Smoothing of Line Segment Pattern
letterR

Window in Shape of Letter R
duplicated.ppp

Determine Duplicated Points in a Spatial Point Pattern
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
nnwhich.ppx

Nearest Neighbours in Any Dimensions
tess

Create a Tessellation
logLik.ppm

Log Likelihood for Poisson Point Process Model
pcfdot.inhom

Inhomogeneous Multitype Pair Correlation Function (Type-i-To-Any-Type)
ord.family

Ord Interaction Process Family
rSSI

Simulate Simple Sequential Inhibition
coords

Extract Coordinates of a Spatial or Spatiotemporal Point Pattern
diameter.owin

Diameter of a Window
humberside

Humberside Data on Childhood Leukaemia and Lymphoma
compatible.im

Test Whether Two Pixel Images Are Compatible
multiplicity.ppp

Count Multiplicity of Duplicate Points
runifpointx

Generate N Uniform Random Points in Any Dimensions
psp.object

Class of Line Segment Patterns
suffstat

Sufficient Statistic of Point Process Model
shift.psp

Apply Vector Translation To Line Segment Pattern
psp

Create a Line Segment Pattern
rescale.im

Convert Pixel Image to Another Unit of Length
quadratcount

Quadrat counting for a point pattern
split.ppp

Divide Point Pattern into Sub-patterns
marks

Marks of a Point Pattern
nnclean

Nearest Neighbour Clutter Removal
rpoispp3

Generate Poisson Point Pattern in Three Dimensions
print.owin

Print Brief Details of a Spatial Window
runifpointOnLines

Generate N Uniform Random Points On Line Segments
pixellate.owin

Convert Window to Pixel Image
murchison

Murchison gold deposits
simulate.kppm

Simulate a Fitted Cluster Point Process Model
print.im

Print Brief Details of an Image
demopat

Artificial Data Point Pattern
qqplot.ppm

Q-Q Plot of Residuals from Fitted Point Process Model
Replace.im

Reset Values in Subset of Image
quadrat.test

Chi-Squared Dispersion Test for Spatial Point Pattern Based on Quadrat Counts
nndist.psp

Nearest neighbour distances between line segments
pairdist.default

Pairwise distances
rmh.ppm

Simulate from a Fitted Point Process Model
rmpoint

Generate N Random Multitype Points
rshift.ppp

Randomly Shift a Point Pattern
as.data.frame.psp

Coerce Line Segment Pattern to a Data Frame
perimeter

Perimeter Length of Window
eroded.areas

Areas of Morphological Erosions
discretise

Safely Convert Point Pattern Window to Binary Mask
profilepl

Profile Maximum Pseudolikelihood
pcfcross

Multitype pair correlation function (cross-type)
summary.ppm

Summarizing a Fitted Point Process Model
marktable

Tabulate Marks in Neighbourhood of Every Point in a Point Pattern
quantile.im

Sample Quantiles of Pixel Image
lgcp.estK

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
ppx

Multidimensional Space-Time Point Pattern
ewcdf

Weighted Empirical Cumulative Distribution Function
methods.pp3

Methods for three-dimensional point patterns
plot.kppm

Plot a fitted cluster point process
rsyst

Simulate systematic random point pattern
deltametric

Delta Metric
markcorrint

Mark Correlation Integral
rMatClust

Simulate Matern Cluster Process
rMaternII

Simulate Matern Model II
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
volume

Volume of an Object
scanpp

Read Point Pattern From Data File
plot.bermantest

Plot Result of Berman Test
pairsat.family

Saturated Pairwise Interaction Point Process Family
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
pairs.im

Scatterplot Matrix for Pixel Images
ppp.object

Class of Point Patterns
residualspaper

Data and Code From JRSS Discussion Paper on Residuals
nndist

Nearest neighbour distances
runifdisc

Generate N Uniform Random Points in a Disc
stieltjes

Compute Integral of Function Against Cumulative Distribution
npoints

Number of Points in a Point Pattern
integral.im

Integral of a Pixel Image
is.ppp

Test Whether An Object Is A Point Pattern
summary.owin

Summary of a Spatial Window
spatstat-package

The Spatstat Package
pcfdot

Multitype pair correlation function (i-to-any)
rotate.psp

Rotate a Line Segment Pattern
plot.fasp

Plot a Function Array
tiles

Extract List of Tiles in a Tessellation
owin

Create a Window
pointsOnLines

Place Points Evenly Along Specified Lines
erosion

Morphological Erosion
rmhmodel.ppm

Interpret Fitted Model for Metropolis-Hastings Simulation.
ppm

Fit Point Process Model to Data
shift

Apply Vector Translation
summary.im

Summarizing a Pixel Image
spatstat.options

Internal Options in Spatstat Package
identify.ppp

Identify Points in a Point Pattern
unique.ppp

Extract Unique Points from a Spatial Point Pattern
smooth.ppp

Spatial smoothing of observations at irregular points
raster.x

Cartesian Coordinates for a Pixel Raster
rknn

Theoretical Distribution of Nearest Neighbour Distance
markstat

Summarise Marks in Every Neighbourhood in a Point Pattern
rotate.owin

Rotate a Window
plot.hyperframe

Plot Entries in a Hyperframe
shift.ppp

Apply Vector Translation To Point Pattern
print.ppp

Print Brief Details of a Point Pattern Dataset
rjitter

Random Perturbation of a Point Pattern
rshift.psp

Randomly Shift a Line Segment Pattern
chop.tess

Subdivide a Window or Tessellation using a Set of Lines
rmhcontrol

Set Control Parameters for Metropolis-Hastings Algorithm.
persp.im

Perspective Plot of Pixel Image
lgcp.estpcf

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
gridweights

Compute Quadrature Weights Based on Grid Counts
markconnect

Mark Connection Function
summary.psp

Summary of a Line Segment Pattern Dataset
urkiola

Urkiola Woods Point Pattern
with.fv

Evaluate an Expression in a Function Table
collapse.fv

Collapse Several Function Tables into One
nnwhich

Nearest neighbour
plot.splitppp

Plot a List of Point Patterns
plot.ppp

plot a Spatial Point Pattern
runifpoint

Generate N Uniform Random Points
ripras

Estimate window from points alone
rescale.ppp

Convert Point Pattern to Another Unit of Length
pixellate.ppp

Convert Point Pattern to Pixel Image
rmhmodel.default

Build Point Process Model for Metropolis-Hastings Simulation.
rMosaicField

Mosaic Random Field
square

Square Window
solutionset

Evaluate Logical Expression Involving Pixel Images and Return Region Where Expression is True
intersect.owin

Intersection, Union or Set Subtraction of Two Windows
pairdist.pp3

Pairwise distances in Three Dimensions
ppm.object

Class of Fitted Point Process Models
pcf.ppp

Pair Correlation Function of Point Pattern
plot.owin

Plot a Spatial Window
reach

Interaction Distance of a Point Process
superimposePSP

Superimpose Several Line Segment Patterns
endpoints.psp

Endpoints of Line Segment Pattern
spatstat-internal

Internal spatstat functions
whist

Weighted Histogram
simplify.owin

Approximate a Polygon by a Simpler Polygon
summary.ppp

Summary of a Point Pattern Dataset
spruces

Spruces Point Pattern
unitname

Name for Unit of Length
pcf.fasp

Pair Correlation Function obtained from array of K functions
rGaussPoisson

Simulate Gauss-Poisson Process
Poisson

Poisson Point Process Model
plot.kstest

Plot a Spatial Kolmogorov-Smirnov Test
rThomas

Simulate Thomas Process
simulate.ppm

Simulate a Fitted Gibbs Point Process Model
gridcentres

Rectangular grid of points
rthin

Random Thinning
rescale.psp

Convert Line Segment Pattern to Another Unit of Length
model.frame.ppm

Extract the Environment of a Point Process Model
runifpoint3

Generate N Uniform Random Points in Three Dimensions
F3est

Empty Space Function of a Three-Dimensional Point Pattern
rescale

Convert dataset to another unit of length
print.quad

Print a Quadrature Scheme
progressreport

Print Progress Reports
nndist.ppx

Nearest Neighbour Distances in Any Dimensions
rpoisppOnLines

Generate Poisson Point Pattern on Line Segments
pppmatching.object

Class of Point Matchings
rStrauss

Perfect Simulation of the Strauss Process
nndist.pp3

Nearest neighbour distances in three dimensions
thomas.estpcf

Fit the Thomas Point Process by Minimum Contrast
update.ppm

Update a Fitted Point Process Model
rpoint

Generate N Random Points
markcorr

Mark Correlation Function
Kcross

Multitype K Function (Cross-type)
pairdist

Pairwise distances
default.dummy

Generate a Default Pattern of Dummy Points
rmhstart

Determine Initial State for Metropolis-Hastings Simulation.
Gcross

Multitype Nearest Neighbour Distance Function (i-to-j)
rpoispp

Generate Poisson Point Pattern
plot.colourmap

Plot a Colour Map
pp3

Three Dimensional Point Pattern
setcov

Set Covariance of a Window
spokes

Spokes pattern of dummy points
amacrine

Hughes' Amacrine Cell Data
rcell

Simulate Baddeley-Silverman Cell Process
split.im

Divide Image Into Sub-images
shift.im

Apply Vector Translation To Pixel Image
vertices

Vertices of a Window
model.matrix.ppm

Extract Design Matrix from Point Process Model
trim.rectangle

Cut margins from rectangle
model.images

Compute Images of Constructed Covariates
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
superimpose

Superimpose Several Point Patterns
is.subset.owin

Determine Whether One Window is Contained In Another
Fiksel

The Fiksel Interaction
cbind.hyperframe

Combine Hyperframes by Rows or by Columns
as.mask.psp

Convert Line Segment Pattern to Binary Pixel Mask
union.quad

Union of Data and Dummy Points
pcf

Pair Correlation Function
colourmap

Colour Lookup Tables
Jcross

Multitype J Function (i-to-j)
coef.ppm

Coefficients of Fitted Point Process Model
rlabel

Random Re-Labelling of Point Pattern
dummy.ppm

Extract Dummy Points Used to Fit a Point Process Model
rNeymanScott

Simulate Neyman-Scott Process
distmap.psp

Distance Map of Line Segment Pattern
data.ppm

Extract Original Data from a Fitted Point Process Model
clip.infline

Intersect Infinite Straight Lines with a Window
inside.owin

Test Whether Points Are Inside A Window
eval.fv

Evaluate Expression Involving Functions
lurking

Lurking variable plot
is.marked

Test Whether Marks Are Present
is.marked.ppp

Test Whether A Point Pattern is Marked
chorley

Chorley-Ribble Cancer Data
plot.pp3

Plot a three-dimensional point pattern
methods.boxx

Methods for Multi-Dimensional Box
predict.ppm

Prediction from a Fitted Point Process Model
plot.psp

plot a Spatial Line Segment Pattern
pairdist.psp

Pairwise distances between line segments
print.psp

Print Brief Details of a Line Segment Pattern Dataset
pairwise.family

Pairwise Interaction Process Family
connected

Connected components of an image or window
ponderosa

Ponderosa Pine Tree Point Pattern
pairdist.ppp

Pairwise distances
redwoodfull

California Redwoods Point Pattern (Entire Dataset)
cut.im

Convert Pixel Image from Numeric to Factor
kppm

Fit cluster point process model
quadrat.test.splitppp

Chi-Squared Test of CSR for Split Point Pattern
is.multitype.ppp

Test Whether A Point Pattern is Multitype
opening

Morphological Opening
periodify

Make Periodic Copies of a Spatial Pattern
shapley

Galaxies in the Shapley Supercluster
smooth.fv

Apply Smoothing to Function Values
rshift

Random Shift
swedishpines

Swedish Pines Point Pattern
redwood

California Redwoods Point Pattern (Ripley's Subset)
crossdist.default

Pairwise distances between two different sets of points
plot.ppm

plot a Fitted Point Process Model
longleaf

Longleaf Pines Point Pattern