Learn R Programming

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

spatstat (version 1.24-2)

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,590

Version

1.24-2

License

GPL (>= 2)

Maintainer

Adrian Baddeley

Last Published

November 11th, 2011

Functions in spatstat (1.24-2)

Extract.msr

Extract Subset of Signed or Vector Measure
Strauss

The Strauss Point Process Model
bramblecanes

Hutchings' Bramble Canes data
chop.tess

Subdivide a Window or Tessellation using a Set of Lines
bw.stoyan

Stoyan's Rule of Thumb for Bandwidth Selection
concatxy

Concatenate x,y Coordinate Vectors
convexhull

Convex Hull
gridweights

Compute Quadrature Weights Based on Grid Counts
diameter.owin

Diameter of a Window
im

Create a Pixel Image Object
levelset

Level Set of a Pixel Image
letterR

Window in Shape of Letter R
lut

Lookup Tables
miplot

Morishita Index Plot
ord.family

Ord Interaction Process Family
pairdist.ppx

Pairwise Distances in Any Dimensions
pcf.fv

Pair Correlation Function obtained from K Function
plot.bermantest

Plot Result of Berman Test
psp.object

Class of Line Segment Patterns
pixellate.owin

Convert Window to Pixel Image
quadrats

Divide Region into Quadrats
rjitter

Random Perturbation of a Point Pattern
Extract.ppp

Extract or Replace Subset of Point Pattern
rmhmodel.ppm

Interpret Fitted Model for Metropolis-Hastings Simulation.
Extract.quad

Subset of Quadrature Scheme
Kmulti

Marked K-Function
amacrine

Hughes' Amacrine Cell Data
Triplets

The Triplet Point Process Model
as.data.frame.hyperframe

Coerce Hyperframe to Data Frame
areaLoss

Difference of Disc Areas
Extract.tess

Extract or Replace Subset of Tessellation
as.tess

Convert Data To Tessellation
distmap.psp

Distance Map of Line Segment Pattern
G3est

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

Recompute Envelopes
as.hyperframe

Convert Data to Hyperframe
lgcp.estK

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
Extract.fasp

Extract Subset of Function Array
closing

Morphological Closing
Geyer

Geyer's Saturation Point Process Model
affine

Apply Affine Transformation
applynbd

Apply Function to Every Neighbourhood in a Point Pattern
marks.psp

Marks of a Line Segment Pattern
DiggleGatesStibbard

Diggle-Gates-Stibbard Point Process Model
complement.owin

Take Complement of a Window
anova.lppm

ANOVA for Fitted Point Process Models on Linear Network
effectfun

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

Residual G Function
OrdThresh

Ord's Interaction model
fitted.ppm

Fitted Conditional Intensity for Point Process Model
bounding.box

Bounding Box of a Window or Point Pattern
Kdot.inhom

Inhomogeneous Multitype K Dot Function
bei

Tropical rain forest trees
affine.psp

Apply Affine Transformation To Line Segment Pattern
Fest

Estimate the empty space function F
Extract.im

Extract Subset of Image
AreaInter

The Area Interaction Point Process Model
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
bdist.pixels

Distance to Boundary of Window
bw.diggle

Cross Validated Bandwidth Selection for Kernel Density
anova.slrm

Analysis of Deviance for Spatial Logistic Regression Models
methods.lppm

Methods for Fitted Point Process Models on a Linear Network
clickpoly

Interactively Define a Polygon
compatible

Test Whether Objects Are Compatible
methods.units

Methods for Units
contour.listof

Plot a List of Things
chorley

Chorley-Ribble Cancer Data
pcf

Pair Correlation Function
betacells

Beta Ganglion Cells in Cat Retina
bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation
is.marked.ppp

Test Whether A Point Pattern is Marked
Ldot.inhom

Inhomogeneous Multitype L Dot Function
Jcross

Multitype J Function (i-to-j)
demopat

Artificial Data Point Pattern
affine.ppp

Apply Affine Transformation To Point Pattern
kppm

Fit Cluster or Cox Point Process Model
Kcross

Multitype K Function (Cross-type)
ppp

Create a Point Pattern
dilation

Morphological Dilation
as.ppp

Convert Data To Class ppp
progressreport

Print Progress Reports
clickjoin

Interactively join vertices on a plot
plot.envelope

Plot a Simulation Envelope
centroid.owin

Centroid of a window
envelope.lpp

Envelope for Point Patterns on Linear Network
flu

Influenza Virus Proteins
Ldot

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

Dirichlet Tessellation of Point Pattern
Linhom

L-function
discretise

Safely Convert Point Pattern Window to Binary Mask
duplicated.ppp

Determine Duplicated Points in a Spatial Point Pattern
plot.fasp

Plot a Function Array
default.rmhcontrol

Set Default Control Parameters for Metropolis-Hastings Algorithm.
is.ppm

Test Whether An Object Is A Fitted Point Process Model
plot.kstest

Plot a Spatial Kolmogorov-Smirnov Test
identify.ppp

Identify Points in a Point Pattern
diameter.box3

Geometrical Calculations for Three-Dimensional Box
intersect.owin

Intersection, Union or Set Subtraction of Two Windows
StraussHard

The Strauss / Hard Core Point Process Model
box3

Three-Dimensional Box
endpoints.psp

Endpoints of Line Segment Pattern
distmap.ppp

Distance Map of Point Pattern
bermantest

Berman's Tests for Point Process Model
bind.fv

Combine Function Value Tables
adaptive.density

Intensity Estimate of Point Pattern Using Tessellation
erosion

Morphological Erosion
redwood

California Redwoods Point Pattern (Ripley's Subset)
identify.psp

Identify Segments in a Line Segment Pattern
lengths.psp

Lengths of Line Segments
ewcdf

Weighted Empirical Cumulative Distribution Function
infline

Infinite Straight Lines
inforder.family

Infinite Order Interaction Family
rescale.im

Convert Pixel Image to Another Unit of Length
msr

Signed or Vector-Valued Measure
eval.im

Evaluate Expression Involving Pixel Images
localK

Neighbourhood density function
as.data.frame.im

Convert Pixel Image to Data Frame
residualspaper

Data and Code From JRSS Discussion Paper on Residuals
plot.pp3

Plot a three-dimensional point pattern
bdist.points

Distance to Boundary of Window
print.ppm

Print a Fitted Point Process Model
as.box3

Convert Data to Three-Dimensional Box
distmap.owin

Distance Map of Window
rpoisline

Generate Poisson Random Line Process
copper

Berman-Huntington points and lines data
layered

Create List of Plotting Layers
matchingdist

Distance for a Point Pattern Matching
with.hyperframe

Evaluate an Expression in Each Row of a Hyperframe
is.convex

Test Whether a Window is Convex
shift.ppp

Apply Vector Translation To Point Pattern
cut.im

Convert Pixel Image from Numeric to Factor
linnet

Create a Linear Network
marks

Marks of a Point Pattern
plot.listof

Plot a List of Things
markcorrint

Mark Correlation Integral
ppm

Fit Point Process Model to Data
collapse.fv

Collapse Several Function Tables into One
linearK

Linear K Function
pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern
plot.linim

Plot Pixel Image on Linear Network
rshift.psp

Randomly Shift a Line Segment Pattern
Emark

Diagnostics for random marking
Jmulti

Marked J Function
reduced.sample

Reduced Sample Estimator using Histogram Data
pcfdot

Multitype pair correlation function (i-to-any)
is.stationary

Recognise Stationary and Poisson Point Process Models
diameter.boxx

Geometrical Calculations for Multi-Dimensional Box
union.quad

Union of Data and Dummy Points
methods.boxx

Methods for Multi-Dimensional Box
plot.quad

plot a Spatial Quadrature Scheme
mincontrast

Method of Minimum Contrast
predict.lppm

Predict Point Process Model on Linear Network
flipxy

Exchange X and Y Coordinates
pool.fasp

Pool Data from Several Function Arrays
ppx

Multidimensional Space-Time Point Pattern
rMosaicSet

Mosaic Random Set
as.interact

Extract Interaction Structure
plot.layered

Layered Plot
plot.fv

Plot Function Values
eem

Exponential Energy Marks
pointsOnLines

Place Points Evenly Along Specified Lines
Lest

L-function
bounding.box.xy

Convex Hull of Points
Kest

K-function
pairsat.family

Saturated Pairwise Interaction Point Process Family
linearpcfinhom

Inhomogeneous Linear Pair Correlation Function
humberside

Humberside Data on Childhood Leukaemia and Lymphoma
rat

Ratio object
rMaternII

Simulate Matern Model II
plot.splitppp

Plot a List of Point Patterns
rStrauss

Perfect Simulation of the Strauss Process
quantile.im

Sample Quantiles of Pixel Image
ponderosa

Ponderosa Pine Tree Point Pattern
plot.im

Plot a Pixel Image
rescale.psp

Convert Line Segment Pattern to Another Unit of Length
marktable

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

California Redwoods Point Pattern (Entire Dataset)
cells

Biological Cells Point Pattern
linim

Create Pixel Image on Linear Network
boxx

Multi-Dimensional Box
print.psp

Print Brief Details of a Line Segment Pattern Dataset
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
raster.x

Cartesian Coordinates for a Pixel Raster
rSSI

Simulate Simple Sequential Inhibition
methods.rhohat

Methods for Intensity Functions of Spatial Covariate
rpoisppOnLines

Generate Poisson Point Pattern on Line Segments
rmhmodel

Define Point Process Model for Metropolis-Hastings Simulation.
shift.im

Apply Vector Translation To Pixel Image
rsyst

Simulate systematic random point pattern
rescale.owin

Convert Window to Another Unit of Length
spokes

Spokes pattern of dummy points
update.kppm

Update a Fitted Cluster Point Process Model
eval.fasp

Evaluate Expression Involving Function Arrays
plot.hyperframe

Plot Entries in a Hyperframe
thomas.estK

Fit the Thomas Point Process by Minimum Contrast
simulate.ppm

Simulate a Fitted Gibbs Point Process Model
simulate.kppm

Simulate a Fitted Cluster Point Process Model
ganglia

Beta Ganglion Cells in Cat Retina, Old Version
Lcross

Multitype L-function (cross-type)
ripras

Estimate window from points alone
rescue.rectangle

Convert Window Back To Rectangle
pcfcross

Multitype pair correlation function (cross-type)
fv

Create a Function Value Table
summary.owin

Summary of a Spatial Window
print.quad

Print a Quadrature Scheme
is.im

Test Whether An Object Is A Pixel Image
rmh

Simulate point patterns using the Metropolis-Hastings algorithm.
affine.owin

Apply Affine Transformation To Window
tile.areas

Compute Areas of Tiles in a Tessellation
triplet.family

Triplet Interaction Family
vcov.kppm

Variance-Covariance Matrix for a Fitted Cluster Point Process Model
ppp.object

Class of Point Patterns
is.multitype.ppm

Test Whether A Point Process Model is Multitype
is.empty

Test Whether An Object Is Empty
runifdisc

Generate N Uniform Random Points in a Disc
superimpose

Superimpose Several Geometric Patterns
matclust.estK

Fit the Matern Cluster Point Process by Minimum Contrast
split.ppp

Divide Point Pattern into Sub-patterns
circumradius

Circumradius and Diameter of a Linear Network
trim.rectangle

Cut margins from rectangle
Iest

Estimate the I-function
rotate.psp

Rotate a Line Segment Pattern
rthin

Random Thinning
by.im

Apply Function to Image Broken Down by Factor
split.im

Divide Image Into Sub-images
Extract.psp

Extract Subset of Line Segment Pattern
pairdist.default

Pairwise distances
spatstat.options

Internal Options in Spatstat Package
unique.ppp

Extract Unique Points from a Spatial Point Pattern
methods.lpp

Methods for Point Patterns on a Linear Network
Gest

Nearest Neighbour Distance Function G
colourtools

Convert and Compare Colours in Different Formats
LennardJones

The Lennard-Jones Potential
model.matrix.ppm

Extract Design Matrix from Point Process Model
discpartarea

Area of Part of Disc
cut.ppp

Classify Points in a Point Pattern
K3est

K-function of a Three-Dimensional Point Pattern
as.data.frame.psp

Coerce Line Segment Pattern to a Data Frame
plot.msr

Plot a Signed or Vector-Valued Measure
Kest.fft

K-function using FFT
nztrees

New Zealand Trees Point Pattern
vertices

Vertices of a Window
im.object

Class of Images
MultiHard

The Multitype Hard Core Point Process Model
Pairwise

Generic Pairwise Interaction model
Saturated

Saturated Pairwise Interaction model
psp

Create a Line Segment Pattern
psst

Pseudoscore Diagnostic For Fitted Model against General Alternative
area.owin

Area of a Window
spatstat-internal

Internal spatstat functions
is.subset.owin

Determine Whether One Window is Contained In Another
by.ppp

Apply a Function to a Point Pattern Broken Down by Factor
is.owin

Test Whether An Object Is A Window
as.im

Convert to Pixel Image
as.psp

Convert Data To Class psp
sharpen

Data Sharpening of Point Pattern
clip.infline

Intersect Infinite Straight Lines with a Window
localpcf

Local pair correlation function
dirichlet.weights

Compute Quadrature Weights Based on Dirichlet Tessellation
nnwhich

Nearest neighbour
nnwhich.pp3

Nearest neighbours in three dimensions
bw.smoothppp

Cross Validated Bandwidth Selection for Spatial Smoothing
eval.fv

Evaluate Expression Involving Functions
whist

Weighted Histogram
unnormdensity

Weighted kernel smoother
compatible.fasp

Test Whether Function Arrays Are Compatible
Kcom

Model Compensator of K Function
varblock

Estimate Variance of Summary Statistic by Subdivision
npoints

Number of Points in a Point Pattern
distfun

Distance Map as a Function
anemones

Beadlet Anemones Data
latest.news

Print News About Latest Version of Package
hyperframe

Hyper Data Frame
rlabel

Random Re-Labelling of Point Pattern
as.matrix.im

Convert Pixel Image to Matrix or Array
urkiola

Urkiola Woods Point Pattern
Kmeasure

Reduced Second Moment Measure
gridcentres

Rectangular grid of points
pixellate.ppp

Convert Point Pattern to Pixel Image
harmonic

Basis for Harmonic Functions
runiflpp

Uniform Random Points on a Linear Network
pairs.im

Scatterplot Matrix for Pixel Images
as.mask

Pixel Image Approximation of a Window
gpc2owin

Convert Polygonal Region into Different Format
clarkevans.test

Clark and Evans Test
Gcross

Multitype Nearest Neighbour Distance Function (i-to-j)
logLik.slrm

Loglikelihood of Spatial Logistic Regression
markstat

Summarise Marks in Every Neighbourhood in a Point Pattern
pool

Pool Data
Jdot

Multitype J Function (i-to-any)
MultiStrauss

The Multitype Strauss Point Process Model
plot.slrm

Plot a Fitted Spatial Logistic Regression
is.marked

Test Whether Marks Are Present
profilepl

Profile Maximum Pseudolikelihood
interp.im

Interpolate a Pixel Image
mean.im

Maximum, Minimum, Mean, Median, Range or Sum of Pixel Values in an Image
crossdist.ppx

Pairwise Distances Between Two Different Multi-Dimensional Point Patterns
diagnose.ppm

Diagnostic Plots for Fitted Point Process Model
plot.colourmap

Plot a Colour Map
rMatClust

Simulate Matern Cluster Process
disc

Circular Window
reach

Interaction Distance of a Point Process
blur

Apply Gaussian Blur to a Pixel Image
rhohat

Smoothing Estimate of Covariate Transformation
fv.object

Function Value Table
rpoint

Generate N Random Points
crossdist.pp3

Pairwise distances between two different three-dimensional point patterns
nearest.raster.point

Find Pixel Nearest to a Given Point
crossdist.default

Pairwise distances between two different sets of points
runifpointOnLines

Generate N Uniform Random Points On Line Segments
rpoispp3

Generate Poisson Point Pattern in Three Dimensions
distmap

Distance Map
idw

Inverse-distance weighted smoothing of observations at irregular points
print.owin

Print Brief Details of a Spatial Window
kstest.ppm

Kolmogorov-Smirnov Test for Point Process Model
owin.object

Class owin
scaletointerval

Rescale Data to Lie Between Specified Limits
volume

Volume of an Object
rknn

Theoretical Distribution of Nearest Neighbour Distance
quad.object

Class of Quadrature Schemes
rgbim

Create Colour-Valued Pixel Image
logLik.ppm

Log Likelihood and AIC for Point Process Model
is.marked.ppm

Test Whether A Point Process Model is Marked
residuals.ppm

Residuals for Fitted Point Process Model
japanesepines

Japanese Pines Point Pattern
simplify.owin

Approximate a Polygon by a Simpler Polygon
integral.im

Integral of a Pixel Image
longleaf

Longleaf Pines Point Pattern
rpoislinetess

Poisson Line Tessellation
nnclean

Nearest Neighbour Clutter Removal
lpp

Create Point Pattern on Linear Network
pairdist.ppp

Pairwise distances
pixellate

Convert Spatial Object to Pixel Image
opening

Morphological Opening
rshift.ppp

Randomly Shift a Point Pattern
pairdist.psp

Pairwise distances between line segments
rshift.splitppp

Randomly Shift a List of Point Patterns
shift

Apply Vector Translation
rpoisppx

Generate Poisson Point Pattern in Any Dimensions
pppdist

Distance Between Two Point Patterns
shift.psp

Apply Vector Translation To Line Segment Pattern
Jest

Estimate the J-function
smooth.fv

Apply Smoothing to Function Values
pppmatching

Create a Point Matching
Kres

Residual K Function
print.im

Print Brief Details of an Image
perimeter

Perimeter Length of Window
summary.ppm

Summarizing a Fitted Point Process Model
project2segment

Move Point To Nearest Line
quadrat.test.splitppp

Chi-Squared Test of CSR for Split Point Pattern
rescale

Convert dataset to another unit of length
clarkevans

Clark and Evans Aggregation Index
as.polygonal

Convert a Window to a Polygonal Window
sumouter

Compute Quadratic Forms
crossdist

Pairwise distances
rMosaicField

Mosaic Random Field
rmh.default

Simulate Point Process Models using the Metropolis-Hastings Algorithm.
contour.im

Contour plot of pixel image
rmhstart

Determine Initial State for Metropolis-Hastings Simulation.
rmpoint

Generate N Random Multitype Points
rpoislpp

Poisson Point Process on a Linear Network
F3est

Empty Space Function of a Three-Dimensional Point Pattern
Fiksel

The Fiksel Interaction
Kcross.inhom

Inhomogeneous Cross K Function
delaunay

Delaunay Triangulation of Point Pattern
crossdist.psp

Pairwise distances between two different line segment patterns
rpoispp

Generate Poisson Point Pattern
selfcrossing.psp

Crossing Points in a Line Segment Pattern
shapley

Galaxies in the Shapley Supercluster
summary.listof

Summary of a List of Things
spruces

Spruces Point Pattern
unitname

Name for Unit of Length
dummify

Convert Data to Numeric Values by Constructing Dummy Variables
which.max.im

Identify Pixelwise Maximum of Several Pixel Images
deltametric

Delta Metric
formula.ppm

Model Formulae for Gibbs Point Process Models
MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
Hest

Spherical Contact Distribution Function
Kscaled

Locally Scaled K-function
edges2triangles

List Triangles in a Graph
Ord

Generic Ord Interaction model
Softcore

The Soft Core Point Process Model
as.hyperframe.ppx

Extract coordinates and marks of multidimensional point pattern
as.mask.psp

Convert Line Segment Pattern to Binary Pixel Mask
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
iplot

Point and Click Interface for Displaying a Point Pattern
intersect.tess

Intersection of Two Tessellations
solutionset

Evaluate Logical Expression Involving Pixel Images and Return Region Where Expression is True
as.data.frame.ppp

Coerce Point Pattern to a Data Frame
heather

Diggle's Heather Data
tess

Create a Tessellation
lineardisc

Compute Disc of Given Radius in Linear Network
model.frame.ppm

Extract the Environment of a Point Process Model
pairwise.family

Pairwise Interaction Process Family
as.function.fv

Convert Function Value Table to Function
pairdist.lpp

Pairwise shortest-path distances between points on a linear network
border

Border Region of a Window
fasp.object

Function Arrays for Spatial Patterns
is.multitype.ppp

Test Whether A Point Pattern is Multitype
bronzefilter

Bronze gradient filter data
methods.distfun

Methods for Distance Functions
crossing.psp

Crossing Points of Two Line Segment Patterns
pool.envelope

Pool Data from Several Envelopes
pairdist

Pairwise distances
diameter

Diameter of an Object
methods.box3

Methods for Three-Dimensional Box
nsegments

Number of Line Segments in a Line Segment Pattern
quadratresample

Resample a Point Pattern by Resampling Quadrats
runifpointx

Generate N Uniform Random Points in Any Dimensions
with.fv

Evaluate an Expression in a Function Table
crossdist.ppp

Pairwise distances between two different point patterns
imcov

Spatial Covariance of a Pixel Image
runifpoint3

Generate N Uniform Random Points in Three Dimensions
npfun

Dummy Function Returns Number of Points
istat

Point and Click Interface for Exploratory Analysis of Point Pattern
linearKinhom

Inhomogeneous Linear K Function
predict.ppm

Prediction from a Fitted Point Process Model
quadratcount

Quadrat counting for a point pattern
lgcp.estpcf

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

Simulate Baddeley-Silverman Cell Process
rmh.ppm

Simulate from a Fitted Point Process Model
methods.linnet

Methods for Linear Networks
nndist

Nearest neighbour distances
simdat

Simulated Point Pattern
methods.pp3

Methods for three-dimensional point patterns
persp.im

Perspective Plot of Pixel Image
scan.test

Spatial Scan Test
pixellate.psp

Convert Line Segment Pattern to Pixel Image
suffstat

Sufficient Statistic of Point Process Model
thomas.estpcf

Fit the Thomas Point Process by Minimum Contrast
plot.ppp

plot a Spatial Point Pattern
pool.rat

Pool Data from Several Ratio Objects
tiles

Extract List of Tiles in a Tessellation
pppmatching.object

Class of Point Matchings
print.ppp

Print Brief Details of a Point Pattern Dataset
rmhcontrol

Set Control Parameters for Metropolis-Hastings Algorithm.
psstG

Pseudoscore Diagnostic For Fitted Model against Saturation Alternative
rThomas

Simulate Thomas Process
psstA

Pseudoscore Diagnostic For Fitted Model against Area-Interaction Alternative
rescale.ppp

Convert Point Pattern to Another Unit of Length
scanpp

Read Point Pattern From Data File
Gcom

Model Compensator of Nearest Neighbour Function
Hardcore

The Hard Core Point Process Model
setcov

Set Covariance of a Window
SatPiece

Piecewise Constant Saturated Pairwise Interaction Point Process Model
compatible.fv

Test Whether Function Objects Are Compatible
simplenet

Simple Example of Linear Network
spatstat-deprecated

Deprecated spatstat functions
stieltjes

Compute Integral of Function Against Cumulative Distribution
BadGey

Hybrid Geyer Point Process Model
summary.quad

Summarizing a Quadrature Scheme
summary.psp

Summary of a Line Segment Pattern Dataset
Extract.listof

Extract or Replace Subset of a List of Things
finpines

Pine saplings in Finland.
envelope

Simulation Envelopes of Summary Function
Extract.fv

Extract Subset of Function Values
spatstat-package

The Spatstat Package
Extract.splitppp

Extract or Replace Sub-Patterns
lansing

Lansing Woods Point Pattern
alltypes

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

Linear Pair Correlation Function
lppm

Fit Point Process Model to Point Pattern on Linear Network
anova.ppm

ANOVA for Fitted Point Process Models
chicago

Chicago Street Crime Data
dilated.areas

Areas of Morphological Dilations
cbind.hyperframe

Combine Hyperframes by Rows or by Columns
localKinhom

Inhomogeneous Neighbourhood Density Function
midpoints.psp

Midpoints of Line Segment Pattern
markcorr

Mark Correlation Function
multiplicity.ppp

Count Multiplicity of Duplicate Points
model.images

Compute Images of Constructed Covariates
matclust.estpcf

Fit the Matern Cluster Point Process by Minimum Contrast Using Pair Correlation
nearestsegment

Find Line Segment Nearest to Each Point
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
nndist.ppx

Nearest Neighbour Distances in Any Dimensions
nndist.pp3

Nearest neighbour distances in three dimensions
nnwhich.ppx

Nearest Neighbours in Any Dimensions
owin

Create a Window
plot.owin

Plot a Spatial Window
pcfinhom

Inhomogeneous Pair Correlation Function
plot.tess

Plot a tessellation
rGaussPoisson

Simulate Gauss-Poisson Process
qqplot.ppm

Q-Q Plot of Residuals from Fitted Point Process Model
pp3

Three Dimensional Point Pattern
predict.kppm

Prediction from a Fitted Cluster Point Process Model
quadrat.test

Chi-Squared Dispersion Test for Spatial Point Pattern Based on Quadrat Counts
predict.slrm

Predicted or Fitted Values from Spatial Logistic Regression
quadscheme

Generate a Quadrature Scheme from a Point Pattern
rmhmodel.list

Define Point Process Model for Metropolis-Hastings Simulation.
rMaternI

Simulate Matern Model I
rNeymanScott

Simulate Neyman-Scott Process
rotate.owin

Rotate a Window
relrisk

Nonparametric Estimate of Spatially-Varying Relative Risk
summary.im

Summarizing a Pixel Image
rmpoispp

Generate Multitype Poisson Point Pattern
DiggleGratton

Diggle-Gratton model
slrm

Spatial Logistic Regression
shift.owin

Apply Vector Translation To Window
swedishpines

Swedish Pines Point Pattern
Gmulti

Marked Nearest Neighbour Distance Function
append.psp

Combine Two Line Segment Patterns
areaGain

Difference of Disc Areas
data.ppm

Extract Original Data from a Fitted Point Process Model
Replace.im

Reset Values in Subset of Image
default.dummy

Generate a Default Pattern of Dummy Points
harmonise.im

Make Pixel Images Compatible
inside.owin

Test Whether Points Are Inside A Window
methods.ppx

Methods for Multidimensional Space-Time Point Patterns
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
model.depends

Identify Covariates Involved in each Model Term
nncross

Nearest Neighbours Between Two Patterns
lurking

Lurking variable plot
osteo

Osteocyte Lacunae Data: Replicated Three-Dimensional Point Patterns
pairdist.pp3

Pairwise distances in Three Dimensions
pcf.fasp

Pair Correlation Function obtained from array of K functions
pixelquad

Quadrature Scheme Based on Pixel Grid
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
plot.kppm

Plot a fitted cluster point process
plot.linnet

Plot a linear network
ppm.object

Class of Fitted Point Process Models
plot.ppm

plot a Fitted Point Process Model
runifpoint

Generate N Uniform Random Points
summary.splitppp

Summary of a Split Point Pattern
zapsmall.im

Rounding of Pixel Values
summary.ppp

Summary of a Point Pattern Dataset
rmhmodel.default

Build Point Process Model for Metropolis-Hastings Simulation.
smooth.msr

Smooth a Signed or Vector-Valued Measure
rotate

Rotate
unmark

Remove Marks
vcov.ppm

Variance-Covariance Matrix for a Fitted Point Process Model
Lcross.inhom

Inhomogeneous Cross Type L Function
Kinhom

Inhomogeneous K-function
coef.ppm

Coefficients of Fitted Point Process Model
convexhull.xy

Convex Hull of Points
compatible.im

Test Whether Pixel Images Are Compatible
connected

Connected components of an image or window
clickppp

Interactively Add Points
Poisson

Poisson Point Process Model
Kdot

Multitype K Function (i-to-any)
fitted.slrm

Fitted Probabilities for Spatial Logistic Regression
Gdot

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

Residual Diagnostics for Multiple Fitted Models
is.multitype

Test whether Object is Multitype
bdist.tiles

Distance to Boundary of Window
as.owin

Convert Data To Class owin
fryplot

Fry Plot of Point Pattern
density.ppp

Kernel Smoothed Intensity of Point Pattern
markvario

Mark Variogram
methods.kppm

Methods for Cluster Point Process Models
incircle

Find Largest Circle Inside Window
expand.owin

Expand Window By Factor
colourmap

Colour Lookup Tables
dummy.ppm

Extract Dummy Points Used to Fit a Point Process Model
corners

Corners of a rectangle
periodify

Make Periodic Copies of a Spatial Pattern
km.rs

Kaplan-Meier and Reduced Sample Estimator using Histograms
pcfdot.inhom

Inhomogeneous Multitype Pair Correlation Function (Type-i-To-Any-Type)
hist.im

Histogram of Pixel Values in an Image
angles.psp

Orientation Angles of Line Segments
is.ppp

Test Whether An Object Is A Point Pattern
plot.plotppm

Plot a plotppm Object Created by plot.ppm
markconnect

Mark Connection Function
eroded.areas

Areas of Morphological Erosions
nbfires

Point Patterns of New Brunswick Forest Fires
rLGCP

Simulate Log-Gaussian Cox Process
smooth.ppp

Spatial smoothing of observations at irregular points
nndist.psp

Nearest neighbour distances between line segments
update.ppm

Update a Fitted Point Process Model
hamster

Aherne's hamster tumour data
plot.psp

plot a Spatial Line Segment Pattern
rshift

Random Shift
quad.ppm

Extract Quadrature Scheme Used to Fit a Point Process Model
density.psp

Kernel Smoothing of Line Segment Pattern
rlinegrid

Generate grid of parallel lines with random displacement
square

Square Window
rstrat

Simulate Stratified Random Point Pattern
allstats

Calculate four standard summary functions of a point pattern.
ants

Harkness-Isham ants' nests data
coef.slrm

Coefficients of Fitted Spatial Logistic Regression Model
coords

Extract or Change Coordinates of a Spatial or Spatiotemporal Point Pattern
pcf.ppp

Pair Correlation Function of Point Pattern
rotate.ppp

Rotate a Point Pattern
Gfox

Foxall's Distance Functions
murchison

Murchison gold deposits
Kmodel

K function of a model
as.rectangle

Window Frame
default.expand

Compute Expansion Window for Simulation
fitin.ppm

Extract the Interaction from a Fitted Point Process Model