Learn R Programming

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

spatstat (version 1.23-5)

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 over 1000 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. Exploratory methods include K-functions, nearest neighbour distance and empty space statistics, Fry plots, pair correlation function, kernel smoothed intensity, relative risk estimation with cross-validated bandwidth selection, mark correlation functions, segregation indices, mark dependence diagnostics etc. Point process models can be fitted to point pattern data using functions ppm, kppm, slrm similar to glm. Models may include dependence on covariates, interpoint interaction, cluster formation 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,015

Version

1.23-5

License

GPL (>= 2)

Maintainer

Adrian Baddeley

Last Published

September 23rd, 2011

Functions in spatstat (1.23-5)

affine.owin

Apply Affine Transformation To Window
Jcross

Multitype J Function (i-to-j)
Iest

Estimate the I-function
Saturated

Saturated Pairwise Interaction model
Kmulti

Marked K-Function
Gmulti

Marked Nearest Neighbour Distance Function
affine

Apply Affine Transformation
as.data.frame.hyperframe

Coerce Hyperframe to Data Frame
bdist.pixels

Distance to Boundary of Window
duplicated.ppp

Determine Duplicated Points in a Spatial Point Pattern
as.data.frame.ppp

Coerce Point Pattern to a Data Frame
Replace.im

Reset Values in Subset of Image
methods.box3

Methods for Three-Dimensional Box
Gest

Nearest Neighbour Distance Function G
by.ppp

Apply a Function to a Point Pattern Broken Down by Factor
Extract.splitppp

Extract or Replace Sub-Patterns
crossdist.ppp

Pairwise distances between two different point patterns
bounding.box.xy

Convex Hull of Points
is.multitype

Test whether Object is Multitype
coords

Extract or Change Coordinates of a Spatial or Spatiotemporal Point Pattern
Gcross

Multitype Nearest Neighbour Distance Function (i-to-j)
bw.stoyan

Stoyan's Rule of Thumb for Bandwidth Selection
chorley

Chorley-Ribble Cancer Data
betacells

Beta Ganglion Cells in Cat Retina
finpines

Pine saplings in Finland.
flu

Influenza Virus Proteins
bw.smoothppp

Cross Validated Bandwidth Selection for Spatial Smoothing
default.rmhcontrol

Set Default Control Parameters for Metropolis-Hastings Algorithm.
identify.psp

Identify Segments in a Line Segment Pattern
crossdist.default

Pairwise distances between two different sets of points
bind.fv

Combine Function Value Tables
effectfun

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

Exchange X and Y Coordinates
Softcore

The Soft Core Point Process Model
Lcross

Multitype L-function (cross-type)
allstats

Calculate four standard summary functions of a point pattern.
fv.object

Function Value Table
by.im

Apply Function to Image Broken Down by Factor
pairdist.default

Pairwise distances
demopat

Artificial Data Point Pattern
intersect.tess

Intersection of Two Tessellations
Lest

L-function
lineardisc

Compute Disc of Given Radius in Linear Network
fitted.slrm

Fitted Probabilities for Spatial Logistic Regression
Lcross.inhom

Inhomogeneous Cross Type L Function
collapse.fv

Collapse Several Function Tables into One
eem

Exponential Energy Marks
kstest.ppm

Kolmogorov-Smirnov Test for Point Process Model
endpoints.psp

Endpoints of Line Segment Pattern
linearpcf

Linear Pair Correlation Function
idw

Inverse-distance weighted smoothing of observations at irregular points
convexhull.xy

Convex Hull of Points
bronzefilter

Bronze gradient filter data
npoints

Number of Points in a Point Pattern
dilated.areas

Areas of Morphological Dilations
Kcross.inhom

Inhomogeneous Cross K Function
lpp

Create Point Pattern on Linear Network
bounding.box

Bounding Box of a Window or Point Pattern
crossdist

Pairwise distances
eval.im

Evaluate Expression Involving Pixel Images
anova.ppm

ANOVA for Fitted Point Process Models
dummy.ppm

Extract Dummy Points Used to Fit a Point Process Model
logLik.slrm

Loglikelihood of Spatial Logistic Regression
as.mask

Pixel Image Approximation of a Window
Ldot.inhom

Inhomogeneous Multitype L Dot Function
closing

Morphological Closing
anova.lppm

ANOVA for Fitted Point Process Models on Linear Network
dilation

Morphological Dilation
model.depends

Identify Covariates Involved in each Model Term
nnwhich.pp3

Nearest neighbours in three dimensions
nearest.raster.point

Find Pixel Nearest to a Given Point
as.data.frame.psp

Coerce Line Segment Pattern to a Data Frame
integral.im

Integral of a Pixel Image
lgcp.estK

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
bdist.points

Distance to Boundary of Window
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
box3

Three-Dimensional Box
markconnect

Mark Connection Function
psp

Create a Line Segment Pattern
OrdThresh

Ord's Interaction model
anova.slrm

Analysis of Deviance for Spatial Logistic Regression Models
pcfdot.inhom

Inhomogeneous Multitype Pair Correlation Function (Type-i-To-Any-Type)
blur

Apply Gaussian Blur to a Pixel Image
diameter.owin

Diameter of a Window
lansing

Lansing Woods Point Pattern
plot.colourmap

Plot a Colour Map
markvario

Mark Variogram
bermantest

Berman's Tests for Point Process Model
quadrats

Divide Region into Quadrats
as.mask.psp

Convert Line Segment Pattern to Binary Pixel Mask
Strauss

The Strauss Point Process Model
npfun

Dummy Function Returns Number of Points
methods.kppm

Methods for Cluster Point Process Models
pairwise.family

Pairwise Interaction Process Family
as.box3

Convert Data to Three-Dimensional Box
MultiStrauss

The Multitype Strauss Point Process Model
methods.distfun

Methods for Distance Functions
Gres

Residual G Function
diagnose.ppm

Diagnostic Plots for Fitted Point Process Model
kppm

Fit Cluster or Cox Point Process Model
as.data.frame.im

Convert Pixel Image to Data Frame
humberside

Humberside Data on Childhood Leukaemia and Lymphoma
Kest.fft

K-function using FFT
linearpcfinhom

Inhomogeneous Linear Pair Correlation Function
adaptive.density

Intensity Estimate of Point Pattern Using Tessellation
Fest

Estimate the empty space function F
nztrees

New Zealand Trees Point Pattern
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
clickppp

Interactively Add Points
fitin.ppm

Extract the Interaction from a Fitted Point Process Model
lut

Lookup Tables
eroded.areas

Areas of Morphological Erosions
inforder.family

Infinite Order Interaction Family
compatible.fv

Test Whether Two Function Objects Are Compatible
pppmatching

Create a Point Matching
hamster

Aherne's hamster tumour data
multiplicity.ppp

Count Multiplicity of Duplicate Points
nndist.ppx

Nearest Neighbour Distances in Any Dimensions
append.psp

Combine Two Line Segment Patterns
rshift

Random Shift
fitted.ppm

Fitted Conditional Intensity for Point Process Model
nearestsegment

Find Line Segment Nearest to Each Point
convexhull

Convex Hull
distmap.owin

Distance Map of Window
Kcross

Multitype K Function (Cross-type)
Gdot

Multitype Nearest Neighbour Distance Function (i-to-any)
envelope

Simulation Envelopes of Summary Function
rshift.ppp

Randomly Shift a Point Pattern
contour.im

Contour plot of pixel image
clip.infline

Intersect Infinite Straight Lines with a Window
is.stationary

Recognise Stationary and Poisson Point Process Models
compareFit

Residual Diagnostics for Multiple Fitted Models
pcf.fv

Pair Correlation Function obtained from K Function
Extract.psp

Extract Subset of Line Segment Pattern
nsegments

Number of Line Segments in a Line Segment Pattern
Gcom

Model Compensator of Nearest Neighbour Function
as.rectangle

Window Frame
quadrat.test

Chi-Squared Dispersion Test for Spatial Point Pattern Based on Quadrat Counts
pcf.ppp

Pair Correlation Function of Point Pattern
plot.splitppp

Plot a List of Point Patterns
japanesepines

Japanese Pines Point Pattern
eval.fasp

Evaluate Expression Involving Function Arrays
latest.news

Print News About Latest Version of Package
owin.object

Class owin
levelset

Level Set of a Pixel Image
qqplot.ppm

Q-Q Plot of Residuals from Fitted Point Process Model
data.ppm

Extract Original Data from a Fitted Point Process Model
colourtools

Convert and Compare Colours in Different Formats
methods.pp3

Methods for three-dimensional point patterns
rjitter

Random Perturbation of a Point Pattern
pairsat.family

Saturated Pairwise Interaction Point Process Family
pcf.fasp

Pair Correlation Function obtained from array of K functions
model.images

Compute Images of Constructed Covariates
Kmodel

K function of a model
istat

Point and Click Interface for Exploratory Analysis of Point Pattern
plot.owin

Plot a Spatial Window
interp.im

Interpolate a Pixel Image
hyperframe

Hyper Data Frame
border

Border Region of a Window
copper

Berman-Huntington points and lines data
StraussHard

The Strauss / Hard Core Point Process Model
clickjoin

Interactively join vertices on a plot
rMosaicSet

Mosaic Random Set
Kcom

Model Compensator of K Function
plot.slrm

Plot a Fitted Spatial Logistic Regression
pointsOnLines

Place Points Evenly Along Specified Lines
as.tess

Convert Data To Tessellation
anemones

Beadlet Anemones Data
linearKinhom

Inhomogeneous Linear K Function
mean.im

Maximum, Minimum, Mean, Median, Range or Sum of Pixel Values in an Image
rmh

Simulate point patterns using the Metropolis-Hastings algorithm.
rescale

Convert dataset to another unit of length
nnwhich.ppx

Nearest Neighbours in Any Dimensions
letterR

Window in Shape of Letter R
intersect.owin

Intersection, Union or Set Subtraction of Two Windows
rpoislinetess

Poisson Line Tessellation
quadratcount

Quadrat counting for a point pattern
relrisk

Nonparametric Estimate of Spatially-Varying Relative Risk
rknn

Theoretical Distribution of Nearest Neighbour Distance
rshift.splitppp

Randomly Shift a List of Point Patterns
applynbd

Apply Function to Every Neighbourhood in a Point Pattern
is.marked

Test Whether Marks Are Present
profilepl

Profile Maximum Pseudolikelihood
bei

Tropical rain forest trees
disc

Circular Window
Extract.im

Extract Subset of Image
cells

Biological Cells Point Pattern
F3est

Empty Space Function of a Three-Dimensional Point Pattern
pppmatching.object

Class of Point Matchings
pairdist

Pairwise distances
plot.envelope

Plot a Simulation Envelope
rpoislpp

Poisson Point Process on a Linear Network
redwood

California Redwoods Point Pattern (Ripley's Subset)
print.quad

Print a Quadrature Scheme
rGaussPoisson

Simulate Gauss-Poisson Process
matclust.estK

Fit the Matern Cluster Point Process by Minimum Contrast
crossdist.psp

Pairwise distances between two different line segment patterns
rotate.owin

Rotate a Window
rshift.psp

Randomly Shift a Line Segment Pattern
cbind.hyperframe

Combine Hyperframes by Rows or by Columns
quadratresample

Resample a Point Pattern by Resampling Quadrats
psp.object

Class of Line Segment Patterns
rgbim

Create Colour-Valued Pixel Image
iplot

Point and Click Interface for Displaying a Point Pattern
vcov.ppm

Variance-Covariance Matrix for a Fitted Point Process Model
Kmeasure

Reduced Second Moment Measure
discpartarea

Area of Part of Disc
ganglia

Beta Ganglion Cells in Cat Retina, Old Version
cut.ppp

Classify Points in a Point Pattern
Pairwise

Generic Pairwise Interaction model
compatible.fasp

Test Whether Two Function Arrays Are Compatible
Extract.fasp

Extract Subset of Function Array
BadGey

Hybrid Geyer Point Process Model
quadrat.test.splitppp

Chi-Squared Test of CSR for Split Point Pattern
pixellate.owin

Convert Window to Pixel Image
alltypes

Calculate Summary Statistic for All Types in a Multitype Point Pattern
plot.fv

Plot Function Values
compatible.im

Test Whether Two Pixel Images Are Compatible
as.hyperframe

Convert Data to Hyperframe
rstrat

Simulate Stratified Random Point Pattern
shift.owin

Apply Vector Translation To Window
ppm.object

Class of Fitted Point Process Models
simulate.ppm

Simulate a Fitted Gibbs Point Process Model
rescale.ppp

Convert Point Pattern to Another Unit of Length
linim

Create Pixel Image on Linear Network
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
scanpp

Read Point Pattern From Data File
rlabel

Random Re-Labelling of Point Pattern
linnet

Create a Linear Network
Poisson

Poisson Point Process Model
identify.ppp

Identify Points in a Point Pattern
whist

Weighted Histogram
shift.ppp

Apply Vector Translation To Point Pattern
msr

Signed or Vector-Valued Measure
MultiHard

The Multitype Hard Core Point Process Model
MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
scaletointerval

Rescale Data to Lie Between Specified Limits
is.multitype.ppp

Test Whether A Point Pattern is Multitype
smooth.msr

Smooth a Signed or Vector-Valued Measure
update.kppm

Update a Fitted Cluster Point Process Model
sharpen

Data Sharpening of Point Pattern
unique.ppp

Extract Unique Points from a Spatial Point Pattern
Jmulti

Marked J Function
spatstat-internal

Internal spatstat functions
bramblecanes

Hutchings' Bramble Canes data
Kest

K-function
shift.psp

Apply Vector Translation To Line Segment Pattern
model.frame.ppm

Extract the Environment of a Point Process Model
mincontrast

Method of Minimum Contrast
model.matrix.ppm

Extract Design Matrix from Point Process Model
diameter.boxx

Geometrical Calculations for Multi-Dimensional Box
rmhmodel

Define Point Process Model for Metropolis-Hastings Simulation.
nnwhich

Nearest neighbour
linearK

Linear K Function
urkiola

Urkiola Woods Point Pattern
runifpoint3

Generate N Uniform Random Points in Three Dimensions
nndist

Nearest neighbour distances
layered

Create List of Plotting Layers
pairdist.lpp

Pairwise shortest-path distances between points on a linear network
complement.owin

Take Complement of a Window
dirichlet

Dirichlet Tessellation of Point Pattern
pixellate.psp

Convert Line Segment Pattern to Pixel Image
smooth.ppp

Spatial smoothing of observations at irregular points
matchingdist

Distance for a Point Pattern Matching
miplot

Morishita Index Plot
pcfdot

Multitype pair correlation function (i-to-any)
osteo

Osteocyte Lacunae Data: Replicated Three-Dimensional Point Patterns
update.ppm

Update a Fitted Point Process Model
ppm

Fit Point Process Model to Data
predict.lppm

Predict Point Process Model on Linear Network
spokes

Spokes pattern of dummy points
predict.ppm

Prediction from a Fitted Point Process Model
predict.kppm

Prediction from a Fitted Cluster Point Process Model
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
is.marked.ppp

Test Whether A Point Pattern is Marked
pairdist.ppx

Pairwise Distances in Any Dimensions
is.convex

Test Whether a Window is Convex
suffstat

Sufficient Statistic of Point Process Model
methods.ppx

Methods for Multidimensional Space-Time Point Patterns
lengths.psp

Lengths of Line Segments
persp.im

Perspective Plot of Pixel Image
zapsmall.im

Rounding of Pixel Values
nndist.psp

Nearest neighbour distances between line segments
areaGain

Difference of Disc Areas
matclust.estpcf

Fit the Matern Cluster Point Process by Minimum Contrast Using Pair Correlation
summary.ppp

Summary of a Point Pattern Dataset
plot.fasp

Plot a Function Array
pool

Pool Data
methods.boxx

Methods for Multi-Dimensional Box
as.ppp

Convert Data To Class ppp
boxx

Multi-Dimensional Box
amacrine

Hughes' Amacrine Cell Data
DiggleGratton

Diggle-Gratton model
longleaf

Longleaf Pines Point Pattern
plot.ppm

plot a Fitted Point Process Model
methods.rhohat

Methods for Intensity Functions of Spatial Covariate
distfun

Distance Map as a Function
Fiksel

The Fiksel Interaction
Gfox

Foxall's Distance Functions
as.psp

Convert Data To Class psp
circumradius

Circumradius and Diameter of a Linear Network
gridweights

Compute Quadrature Weights Based on Grid Counts
plot.bermantest

Plot Result of Berman Test
Jdot

Multitype J Function (i-to-any)
hist.im

Histogram of Pixel Values in an Image
crossdist.ppx

Pairwise Distances Between Two Different Multi-Dimensional Point Patterns
pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern
rMatClust

Simulate Matern Cluster Process
K3est

K-function of a Three-Dimensional Point Pattern
methods.lpp

Methods for Point Patterns on a Linear Network
project2segment

Move Point To Nearest Line
progressreport

Print Progress Reports
pixelquad

Quadrature Scheme Based on Pixel Grid
ppp

Create a Point Pattern
rescale.im

Convert Pixel Image to Another Unit of Length
plot.psp

plot a Spatial Line Segment Pattern
rescue.rectangle

Convert Window Back To Rectangle
residualspaper

Data and Code From JRSS Discussion Paper on Residuals
rlinegrid

Generate grid of parallel lines with random displacement
Geyer

Geyer's Saturation Point Process Model
fryplot

Fry Plot of Point Pattern
psst

Pseudoscore Diagnostic For Fitted Model against General Alternative
Extract.tess

Extract or Replace Subset of Tessellation
bdist.tiles

Distance to Boundary of Window
distmap.ppp

Distance Map of Point Pattern
plot.listof

Plot a List of Things
envelope.envelope

Recompute Envelopes
Ldot

Multitype L-function (i-to-any)
runiflpp

Uniform Random Points on a Linear Network
print.psp

Print Brief Details of a Line Segment Pattern Dataset
chicago

Chicago Street Crime Data
rStrauss

Perfect Simulation of the Strauss Process
plot.tess

Plot a tessellation
cut.im

Convert Pixel Image from Numeric to Factor
as.polygonal

Convert a Window to a Polygonal Window
pcfinhom

Inhomogeneous Pair Correlation Function
area.owin

Area of a Window
psstA

Pseudoscore Diagnostic For Fitted Model against Area-Interaction Alternative
inside.owin

Test Whether Points Are Inside A Window
plot.ppp

plot a Spatial Point Pattern
owin

Create a Window
Jest

Estimate the J-function
plot.pp3

Plot a three-dimensional point pattern
quad.ppm

Extract Quadrature Scheme Used to Fit a Point Process Model
psstG

Pseudoscore Diagnostic For Fitted Model against Saturation Alternative
rotate.psp

Rotate a Line Segment Pattern
rNeymanScott

Simulate Neyman-Scott Process
ppp.object

Class of Point Patterns
marks.psp

Marks of a Line Segment Pattern
plot.plotppm

Plot a plotppm Object Created by plot.ppm
rThomas

Simulate Thomas Process
as.hyperframe.ppx

Extract coordinates and marks of multidimensional point pattern
rotate

Rotate
union.quad

Union of Data and Dummy Points
nnclean

Nearest Neighbour Clutter Removal
residuals.ppm

Residuals for Fitted Point Process Model
rhohat

Smoothing Estimate of Covariate Transformation
summary.owin

Summary of a Spatial Window
rpoispp

Generate Poisson Point Pattern
rmhmodel.default

Build Point Process Model for Metropolis-Hastings Simulation.
angles.psp

Orientation Angles of Line Segments
infline

Infinite Straight Lines
simplify.owin

Approximate a Polygon by a Simpler Polygon
rmhcontrol

Set Control Parameters for Metropolis-Hastings Algorithm.
unitname

Name for Unit of Length
erosion

Morphological Erosion
rmpoint

Generate N Random Multitype Points
Kscaled

Locally Scaled K-function
runifpointx

Generate N Uniform Random Points in Any Dimensions
marktable

Tabulate Marks in Neighbourhood of Every Point in a Point Pattern
LennardJones

The Lennard-Jones Potential
density.psp

Kernel Smoothing of Line Segment Pattern
raster.x

Cartesian Coordinates for a Pixel Raster
Extract.quad

Subset of Quadrature Scheme
split.ppp

Divide Point Pattern into Sub-patterns
Extract.fv

Extract Subset of Function Values
rmhmodel.ppm

Interpret Fitted Model for Metropolis-Hastings Simulation.
pcf

Pair Correlation Function
ants

Harkness-Isham ants' nests data
shapley

Galaxies in the Shapley Supercluster
spatstat-deprecated

Deprecated spatstat functions
plot.quad

plot a Spatial Quadrature Scheme
smooth.fv

Apply Smoothing to Function Values
rSSI

Simulate Simple Sequential Inhibition
rpoisppOnLines

Generate Poisson Point Pattern on Line Segments
is.marked.ppm

Test Whether A Point Process Model is Marked
localpcf

Local pair correlation function
rsyst

Simulate systematic random point pattern
unmark

Remove Marks
trim.rectangle

Cut margins from rectangle
as.im

Convert to Pixel Image
tiles

Extract List of Tiles in a Tessellation
ripras

Estimate window from points alone
pool.envelope

Pool Data from Several Envelopes
ponderosa

Ponderosa Pine Tree Point Pattern
pairdist.psp

Pairwise distances between line segments
runifdisc

Generate N Uniform Random Points in a Disc
solutionset

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

Centroid of a window
rthin

Random Thinning
delaunay

Delaunay Triangulation of Point Pattern
vertices

Vertices of a Window
which.max.im

Identify Pixelwise Maximum of Several Pixel Images
split.im

Divide Image Into Sub-images
plot.hyperframe

Plot Entries in a Hyperframe
tile.areas

Compute Areas of Tiles in a Tessellation
envelope.lpp

Envelope for Point Patterns on Linear Network
affine.ppp

Apply Affine Transformation To Point Pattern
pairdist.pp3

Pairwise distances in Three Dimensions
simulate.kppm

Simulate a Fitted Cluster Point Process Model
nncross

Nearest Neighbours Between Two Patterns
spatstat.options

Internal Options in Spatstat Package
areaLoss

Difference of Disc Areas
eval.fv

Evaluate Expression Involving Functions
midpoints.psp

Midpoints of Line Segment Pattern
is.subset.owin

Determine Whether One Window is Contained In Another
logLik.ppm

Log Likelihood and AIC for Point Process Model
localK

Neighbourhood density function
shift

Apply Vector Translation
im.object

Class of Images
markcorrint

Mark Correlation Integral
summary.listof

Summary of a List of Things
distmap.psp

Distance Map of Line Segment Pattern
Hardcore

The Hard Core Point Process Model
square

Square Window
gridcentres

Rectangular grid of points
varblock

Estimate Variance of Summary Statistic by Subdivision
pcfcross

Multitype pair correlation function (cross-type)
clickpoly

Interactively Define a Polygon
superimpose

Superimpose Several Geometric Patterns
chop.tess

Subdivide a Window or Tessellation using a Set of Lines
nbfires

Point Patterns of New Brunswick Forest Fires
volume

Volume of an Object
sumouter

Compute Quadratic Forms
corners

Corners of a rectangle
plot.linim

Plot Pixel Image on Linear Network
fasp.object

Function Arrays for Spatial Patterns
pool.fasp

Pool Data from Several Function Arrays
plot.im

Plot a Pixel Image
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
with.fv

Evaluate an Expression in a Function Table
ppx

Multidimensional Space-Time Point Pattern
print.im

Print Brief Details of an Image
is.multitype.ppm

Test Whether A Point Process Model is Multitype
plot.layered

Layered Plot
periodify

Make Periodic Copies of a Spatial Pattern
plot.kstest

Plot a Spatial Kolmogorov-Smirnov Test
rMaternI

Simulate Matern Model I
rpoisppx

Generate Poisson Point Pattern in Any Dimensions
as.interact

Extract Interaction Structure
rLGCP

Simulate Log-Gaussian Cox Process
distmap

Distance Map
rpoisline

Generate Poisson Random Line Process
markcorr

Mark Correlation Function
summary.im

Summarizing a Pixel Image
reach

Interaction Distance of a Point Process
print.ppp

Print Brief Details of a Point Pattern Dataset
summary.ppm

Summarizing a Fitted Point Process Model
spatstat-package

The Spatstat Package
connected

Connected components of an image or window
rmhstart

Determine Initial State for Metropolis-Hastings Simulation.
rmh.ppm

Simulate from a Fitted Point Process Model
rmpoispp

Generate Multitype Poisson Point Pattern
SatPiece

Piecewise Constant Saturated Pairwise Interaction Point Process Model
Extract.ppp

Extract or Replace Subset of Point Pattern
print.owin

Print Brief Details of a Spatial Window
quad.object

Class of Quadrature Schemes
rpoint

Generate N Random Points
runifpoint

Generate N Uniform Random Points
spruces

Spruces Point Pattern
plot.msr

Plot a Signed or Vector-Valued Measure
rotate.ppp

Rotate a Point Pattern
selfcrossing.psp

Crossing Points in a Line Segment Pattern
tess

Create a Tessellation
AreaInter

The Area Interaction Point Process Model
summary.psp

Summary of a Line Segment Pattern Dataset
affine.psp

Apply Affine Transformation To Line Segment Pattern
G3est

Nearest Neighbour Distance Distribution Function of a Three-Dimensional Point Pattern
colourmap

Colour Lookup Tables
crossing.psp

Crossing Points of Two Line Segment Patterns
incircle

Find Largest Circle Inside Window
density.ppp

Kernel Smoothed Intensity of Point Pattern
Linhom

L-function
im

Create a Pixel Image Object
heather

Diggle's Heather Data
Extract.msr

Extract Subset of Signed or Vector Measure
Kdot

Multitype K Function (i-to-any)
deltametric

Delta Metric
is.ppm

Test Whether An Object Is A Fitted Point Process Model
lurking

Lurking variable plot
expand.owin

Expand Window By Factor
diameter.box3

Geometrical Calculations for Three-Dimensional Box
Emark

Diagnostics for random marking
coef.slrm

Coefficients of Fitted Spatial Logistic Regression Model
default.expand

Compute Expansion Window for Simulation
murchison

Murchison gold deposits
harmonic

Basis for Harmonic Functions
markstat

Summarise Marks in Every Neighbourhood in a Point Pattern
pairs.im

Scatterplot Matrix for Pixel Images
clarkevans

Clark and Evans Aggregation Index
fv

Create a Function Value Table
km.rs

Kaplan-Meier and Reduced Sample Estimator using Histograms
opening

Morphological Opening
lppm

Fit Point Process Model to Point Pattern on Linear Network
as.owin

Convert Data To Class owin
pixellate.ppp

Convert Point Pattern to Pixel Image
methods.linnet

Methods for Linear Networks
Ord

Generic Ord Interaction model
rescale.owin

Convert Window to Another Unit of Length
quadscheme

Generate a Quadrature Scheme from a Point Pattern
print.ppm

Print a Fitted Point Process Model
diameter

Diameter of an Object
redwoodfull

California Redwoods Point Pattern (Entire Dataset)
perimeter

Perimeter Length of Window
quantile.im

Sample Quantiles of Pixel Image
rpoispp3

Generate Poisson Point Pattern in Three Dimensions
plot.kppm

Plot a fitted cluster point process
pppdist

Distance Between Two Point Patterns
summary.quad

Summarizing a Quadrature Scheme
setcov

Set Covariance of a Window
rMosaicField

Mosaic Random Field
rmh.default

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

Spatial Logistic Regression
thomas.estK

Fit the Thomas Point Process by Minimum Contrast
with.hyperframe

Evaluate an Expression in Each Row of a Hyperframe
Kinhom

Inhomogeneous K-function
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
Hest

Spherical Contact Distribution Function
bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation
dirichlet.weights

Compute Quadrature Weights Based on Dirichlet Tessellation
crossdist.pp3

Pairwise distances between two different three-dimensional point patterns
is.empty

Test Whether An Object Is Empty
marks

Marks of a Point Pattern
nndist.pp3

Nearest neighbour distances in three dimensions
lgcp.estpcf

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
is.ppp

Test Whether An Object Is A Point Pattern
pairdist.ppp

Pairwise distances
as.function.fv

Convert Function Value Table to Function
discretise

Safely Convert Point Pattern Window to Binary Mask
plot.linnet

Plot a linear network
rmhmodel.list

Define Point Process Model for Metropolis-Hastings Simulation.
predict.slrm

Predicted or Fitted Values from Spatial Logistic Regression
shift.im

Apply Vector Translation To Pixel Image
simplenet

Simple Example of Linear Network
stieltjes

Compute Integral of Function Against Cumulative Distribution
vcov.kppm

Variance-Covariance Matrix for a Fitted Cluster Point Process Model
summary.splitppp

Summary of a Split Point Pattern
Extract.listof

Extract or Replace Subset of a List of Things
default.dummy

Generate a Default Pattern of Dummy Points
DiggleGatesStibbard

Diggle-Gates-Stibbard Point Process Model
formula.ppm

Model Formulae for Gibbs Point Process Models
ewcdf

Weighted Empirical Cumulative Distribution Function
is.im

Test Whether An Object Is A Pixel Image
Kdot.inhom

Inhomogeneous Multitype K Dot Function
bw.diggle

Cross Validated Bandwidth Selection for Kernel Density
is.owin

Test Whether An Object Is A Window
ord.family

Ord Interaction Process Family
as.matrix.im

Convert Pixel Image to Matrix or Array
concatxy

Concatenate x,y Coordinate Vectors
clarkevans.test

Clark and Evans Test
Kres

Residual K Function
methods.lppm

Methods for Fitted Point Process Models on a Linear Network
coef.ppm

Coefficients of Fitted Point Process Model
gpc2owin

Convert Polygonal Region into Different Format
localKinhom

Inhomogeneous Neighbourhood Density Function
pixellate

Convert Spatial Object to Pixel Image
pp3

Three Dimensional Point Pattern
rMaternII

Simulate Matern Model II
rescale.psp

Convert Line Segment Pattern to Another Unit of Length
reduced.sample

Reduced Sample Estimator using Histogram Data
rcell

Simulate Baddeley-Silverman Cell Process
simdat

Simulated Point Pattern
runifpointOnLines

Generate N Uniform Random Points On Line Segments
swedishpines

Swedish Pines Point Pattern
thomas.estpcf

Fit the Thomas Point Process by Minimum Contrast