Learn R Programming

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

spatstat (version 1.21-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,015

Version

1.21-2

License

GPL (>= 2)

Maintainer

Adrian Baddeley

Last Published

November 29th, 2010

Functions in spatstat (1.21-2)

Strauss

The Strauss Point Process Model
localK

Neighbourhood density function
gridweights

Compute Quadrature Weights Based on Grid Counts
distmap.owin

Distance Map of Window
Ord

Generic Ord Interaction model
kstest.ppm

Kolmogorov-Smirnov Test for Point Process Model
lurking

Lurking variable plot
mincontrast

Method of Minimum Contrast
is.subset.owin

Determine Whether One Window is Contained In Another
crossdist.default

Pairwise distances between two different sets of points
affine.psp

Apply Affine Transformation To Line Segment Pattern
as.box3

Convert Data to Three-Dimensional Box
chop.tess

Subdivide a Window or Tessellation using a Set of Lines
bronzefilter

Bronze gradient filter data
nndist.ppx

Nearest Neighbour Distances in Any Dimensions
matclust.estpcf

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

Pairwise distances
progressreport

Print Progress Reports
plot.listof

Plot a List of Things
rescale.im

Convert Pixel Image to Another Unit of Length
as.data.frame.psp

Coerce Line Segment Pattern to a Data Frame
alltypes

Calculate Summary Statistic for All Types in a Multitype Point Pattern
angles.psp

Orientation Angles of Line Segments
areaGain

Difference of Disc Areas
ants

Harkness-Isham ants' nests data
crossdist.ppx

Pairwise Distances Between Two Different Multi-Dimensional Point Patterns
OrdThresh

Ord's Interaction model
MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
im

Create a Pixel Image Object
demopat

Artificial Data Point Pattern
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
quad.ppm

Extract Quadrature Scheme Used to Fit a Point Process Model
rescale

Convert dataset to another unit of length
bind.fv

Combine Function Value Tables
dirichlet

Dirichlet Tessellation of Point Pattern
Poisson

Poisson Point Process Model
rMosaicSet

Mosaic Random Set
quadratcount

Quadrat counting for a point pattern
anemones

Beadlet Anemones Data
coef.slrm

Coefficients of Fitted Spatial Logistic Regression Model
corners

Corners of a rectangle
compatible.fv

Test Whether Two Function Objects Are Compatible
bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation
MultiStrauss

The Multitype Strauss Point Process Model
density.ppp

Kernel Smoothed Intensity of Point Pattern
fryplot

Fry Plot of Point Pattern
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
interp.im

Interpolate a Pixel Image
border

Border Region of a Window
bdist.pixels

Distance to Boundary of Window
by.ppp

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

The Lennard-Jones Potential
clickppp

Interactively Add Points
collapse.fv

Collapse Several Function Tables into One
compatible.fasp

Test Whether Two Function Arrays Are Compatible
MultiHard

The Multitype Hard Core Point Process Model
bdist.tiles

Distance to Boundary of Window
data.ppm

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

Apply Function to Image Broken Down by Factor
harmonic

Basis for Harmonic Functions
SatPiece

Piecewise Constant Saturated Pairwise Interaction Point Process Model
clickpoly

Interactively Define a Polygon
is.multitype.ppm

Test Whether A Point Process Model is Multitype
iplot

Point and Click Interface for Displaying a Point Pattern
letterR

Window in Shape of Letter R
diameter.owin

Diameter of a Window
identify.ppp

Identify Points in a Point Pattern
vertices

Vertices of a Window
matchingdist

Distance for a Point Pattern Matching
is.marked

Test Whether Marks Are Present
centroid.owin

Centroid of a window
nnwhich.ppx

Nearest Neighbours in Any Dimensions
kppm

Fit cluster point process model
owin

Create a Window
cbind.hyperframe

Combine Hyperframes by Rows or by Columns
bdist.points

Distance to Boundary of Window
hyperframe

Hyper Data Frame
nncross

Nearest Neighbours Between Two Patterns
pixelquad

Quadrature Scheme Based on Pixel Grid
bw.stoyan

Stoyan's Rule of Thumb for Bandwidth Selection
contour.im

Contour plot of pixel image
affine.ppp

Apply Affine Transformation To Point Pattern
default.dummy

Generate a Default Pattern of Dummy Points
Softcore

The Soft Core Point Process Model
as.data.frame.im

Convert Pixel Image to Data Frame
diagnose.ppm

Diagnostic Plots for Fitted Point Process Model
identify.psp

Identify Segments in a Line Segment Pattern
distmap

Distance Map
Replace.im

Reset Values in Subset of Image
convexhull

Convex Hull
perimeter

Perimeter Length of Window
StraussHard

The Strauss / Hard Core Point Process Model
print.psp

Print Brief Details of a Line Segment Pattern Dataset
effectfun

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

Calculate four standard summary functions of a point pattern.
colourtools

Convert and Compare Colours in Different Formats
nnwhich.pp3

Nearest neighbours in three dimensions
as.matrix.im

Convert Pixel Image to Matrix or Array
pairdist.psp

Pairwise distances between line segments
whist

Weighted Histogram
cells

Biological Cells Point Pattern
coords

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

Murchison gold deposits
as.mask.psp

Convert Line Segment Pattern to Binary Pixel Mask
inside.owin

Test Whether Points Are Inside A Window
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
dirichlet.weights

Compute Quadrature Weights Based on Dirichlet Tessellation
plot.tess

Plot a tessellation
periodify

Make Periodic Copies of a Spatial Pattern
lgcp.estpcf

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
pcf.fv

Pair Correlation Function obtained from K Function
plot.slrm

Plot a Fitted Spatial Logistic Regression
bounding.box.xy

Convex Hull of Points
bermantest

Berman's Tests for Point Process Model
diameter.boxx

Geometrical Calculations for Multi-Dimensional Box
complement.owin

Take Complement of a Window
crossdist.ppp

Pairwise distances between two different point patterns
fv

Create a Function Value Table
km.rs

Kaplan-Meier and Reduced Sample Estimator using Histograms
markstat

Summarise Marks in Every Neighbourhood in a Point Pattern
marktable

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

Pair Correlation Function
logLik.slrm

Loglikelihood of Spatial Logistic Regression
amacrine

Hughes' Amacrine Cell Data
is.im

Test Whether An Object Is A Pixel Image
quadscheme

Generate a Quadrature Scheme from a Point Pattern
plot.colourmap

Plot a Colour Map
distfun

Distance Map as a Function
japanesepines

Japanese Pines Point Pattern
cut.im

Convert Pixel Image from Numeric to Factor
pairdist

Pairwise distances
diameter.box3

Geometrical Calculations for Three-Dimensional Box
nbfires

Point Patterns of New Brunswick Forest Fires
connected

Connected components of an image or window
lgcp.estK

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
pairs.im

Scatterplot Matrix for Pixel Images
osteo

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

Pixel Image Approximation of a Window
as.data.frame.hyperframe

Coerce Hyperframe to Data Frame
is.ppp

Test Whether An Object Is A Point Pattern
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
closing

Morphological Closing
pixellate.owin

Convert Window to Pixel Image
psp

Create a Line Segment Pattern
Linhom

L-function
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
raster.x

Cartesian Coordinates for a Pixel Raster
ord.family

Ord Interaction Process Family
lansing

Lansing Woods Point Pattern
applynbd

Apply Function to Every Neighbourhood in a Point Pattern
gridcentres

Rectangular grid of points
Pairwise

Generic Pairwise Interaction model
anova.slrm

Analysis of Deviance for Spatial Logistic Regression Models
affine.owin

Apply Affine Transformation To Window
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
convexhull.xy

Convex Hull of Points
areaLoss

Difference of Disc Areas
rotate

Rotate
rmhcontrol

Set Control Parameters for Metropolis-Hastings Algorithm.
anova.ppm

ANOVA for Fitted Point Process Models
reduced.sample

Reduced Sample Estimator using Histogram Data
methods.box3

Methods for Three-Dimensional Box
as.rectangle

Window Frame
pp3

Three Dimensional Point Pattern
multiplicity.ppp

Count Multiplicity of Duplicate Points
delaunay

Delaunay Triangulation of Point Pattern
residualspaper

Data and Code From JRSS Discussion Paper on Residuals
rmhmodel

Define Point Process Model for Metropolis-Hastings Simulation.
default.expand

Compute Expansion Window for Simulation
as.im

Convert to Pixel Image
as.tess

Convert Data To Tessellation
eroded.areas

Areas of Morphological Erosions
Saturated

Saturated Pairwise Interaction model
density.psp

Kernel Smoothing of Line Segment Pattern
infline

Infinite Straight Lines
cut.ppp

Classify Points in a Point Pattern
nztrees

New Zealand Trees Point Pattern
nnclean

Nearest Neighbour Clutter Removal
gpc2owin

Convert Polygonal Region into Different Format
pixellate.psp

Convert Line Segment Pattern to Pixel Image
print.ppm

Print a Fitted Point Process Model
finpines

Pine saplings in Finland.
plot.ppm

plot a Fitted Point Process Model
bounding.box

Bounding Box of a Window or Point Pattern
ppp

Create a Point Pattern
eval.fv

Evaluate Expression Involving Functions
distmap.ppp

Distance Map of Point Pattern
dilated.areas

Areas of Morphological Dilations
as.owin

Convert Data To Class owin
model.matrix.ppm

Extract Design Matrix from Point Process Model
adaptive.density

Intensity Estimate of Point Pattern Using Tessellation
chorley

Chorley-Ribble Cancer Data
concatxy

Concatenate x,y Coordinate Vectors
methods.pp3

Methods for three-dimensional point patterns
rjitter

Random Perturbation of a Point Pattern
rshift.splitppp

Randomly Shift a List of Point Patterns
levelset

Level Set of a Pixel Image
pairsat.family

Saturated Pairwise Interaction Point Process Family
erosion

Morphological Erosion
crossdist.psp

Pairwise distances between two different line segment patterns
persp.im

Perspective Plot of Pixel Image
as.hyperframe.ppx

Extract coordinates and marks of multidimensional point pattern
intersect.owin

Intersection, Union or Set Subtraction of Two Windows
rmhmodel.ppm

Interpret Fitted Model for Metropolis-Hastings Simulation.
profilepl

Profile Maximum Pseudolikelihood
ganglia

Beta Ganglion Cells in Cat Retina, Old Version
is.marked.ppp

Test Whether A Point Pattern is Marked
rStrauss

Perfect Simulation of the Strauss Process
fitted.ppm

Fitted Conditional Intensity for Point Process Model
rpoisline

Generate Poisson Random Line Process
print.owin

Print Brief Details of a Spatial Window
latest.news

Print News About Latest Version of Package
eem

Exponential Energy Marks
crossdist.pp3

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

Test Whether An Object Is Empty
pairdist.ppp

Pairwise distances
is.multitype.ppp

Test Whether A Point Pattern is Multitype
rpoispp3

Generate Poisson Point Pattern in Three Dimensions
is.convex

Test Whether a Window is Convex
nnwhich

Nearest neighbour
disc

Circular Window
integral.im

Integral of a Pixel Image
im.object

Class of Images
lengths.psp

Lengths of Line Segments
runifpoint

Generate N Uniform Random Points
swedishpines

Swedish Pines Point Pattern
markcorrint

Mark Correlation Integral
model.frame.ppm

Extract the Environment of a Point Process Model
superimpose

Superimpose Several Point Patterns
methods.ppx

Methods for Multidimensional Space-Time Point Patterns
fitin.ppm

Extract the Interaction from a Fitted Point Process Model
as.ppp

Convert Data To Class ppp
Lest

L-function
rmpoint

Generate N Random Multitype Points
markconnect

Mark Connection Function
ponderosa

Ponderosa Pine Tree Point Pattern
shift.owin

Apply Vector Translation To Window
plot.hyperframe

Plot Entries in a Hyperframe
print.im

Print Brief Details of an Image
quad.object

Class of Quadrature Schemes
rMatClust

Simulate Matern Cluster Process
spatstat-deprecated

Deprecated spatstat functions
pcfcross

Multitype pair correlation function (cross-type)
runifpointx

Generate N Uniform Random Points in Any Dimensions
compatible.im

Test Whether Two Pixel Images Are Compatible
rpoisppOnLines

Generate Poisson Point Pattern on Line Segments
deltametric

Delta Metric
inforder.family

Infinite Order Interaction Family
predict.slrm

Predicted or Fitted Values from Spatial Logistic Regression
reach

Interaction Distance of a Point Process
crossing.psp

Crossing Points of Two Line Segment Patterns
intersect.tess

Intersection of Two Tessellations
plot.im

Plot a Pixel Image
marks

Marks of a Point Pattern
rthin

Random Thinning
quadrat.test

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

Distance Map of Line Segment Pattern
Gest

Nearest Neighbour Distance Function G
print.ppp

Print Brief Details of a Point Pattern Dataset
Extract.quad

Subset of Quadrature Scheme
duplicated.ppp

Determine Duplicated Points in a Spatial Point Pattern
Kinhom

Inhomogeneous K-function
discpartarea

Area of Part of Disc
plot.bermantest

Plot Result of Berman Test
dilation

Morphological Dilation
is.multitype

Test whether Object is Multitype
logLik.ppm

Log Likelihood for Poisson Point Process Model
shift

Apply Vector Translation
methods.distfun

Methods for Distance Functions
incircle

Find Largest Circle Inside Window
plot.fasp

Plot a Function Array
fitted.slrm

Fitted Probabilities for Spatial Logistic Regression
localpcf

Local pair correlation function
eval.im

Evaluate Expression Involving Pixel Images
rlinegrid

Generate grid of parallel lines with random displacement
nearest.raster.point

Find Pixel Nearest to a Given Point
default.rmhcontrol

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

Endpoints of Line Segment Pattern
summary.psp

Summary of a Line Segment Pattern Dataset
lut

Lookup Tables
runifpoint3

Generate N Uniform Random Points in Three Dimensions
clarkevans

Clark and Evans Aggregation Index
plot.kppm

Plot a fitted cluster point process
rpoisppx

Generate Poisson Point Pattern in Any Dimensions
nndist.pp3

Nearest neighbour distances in three dimensions
is.owin

Test Whether An Object Is A Window
nndist

Nearest neighbour distances
as.data.frame.ppp

Coerce Point Pattern to a Data Frame
rThomas

Simulate Thomas Process
betacells

Beta Ganglion Cells in Cat Retina
plot.fv

Plot Function Values
model.images

Compute Images of Constructed Covariates
rescale.owin

Convert Window to Another Unit of Length
pairwise.family

Pairwise Interaction Process Family
print.quad

Print a Quadrature Scheme
hist.im

Histogram of Pixel Values in an Image
pcf.fasp

Pair Correlation Function obtained from array of K functions
nearestsegment

Find Line Segment Nearest to Each Point
pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern
psp.object

Class of Line Segment Patterns
slrm

Spatial Logistic Regression
nndist.psp

Nearest neighbour distances between line segments
matclust.estK

Fit the Matern Cluster Point Process by Minimum Contrast
dummy.ppm

Extract Dummy Points Used to Fit a Point Process Model
pairdist.default

Pairwise distances
pcf.ppp

Pair Correlation Function of Point Pattern
istat

Point and Click Interface for Exploratory Analysis of Point Pattern
rNeymanScott

Simulate Neyman-Scott Process
opening

Morphological Opening
rlabel

Random Re-Labelling of Point Pattern
methods.boxx

Methods for Multi-Dimensional Box
coef.ppm

Coefficients of Fitted Point Process Model
diameter

Diameter of an Object
ppp.object

Class of Point Patterns
pairdist.ppx

Pairwise Distances in Any Dimensions
pcfinhom

Inhomogeneous Pair Correlation Function
suffstat

Sufficient Statistic of Point Process Model
rMaternI

Simulate Matern Model I
as.hyperframe

Convert Data to Hyperframe
pointsOnLines

Place Points Evenly Along Specified Lines
colourmap

Colour Lookup Tables
smooth.fv

Apply Smoothing to Function Values
plot.splitppp

Plot a List of Point Patterns
split.ppp

Divide Point Pattern into Sub-patterns
ppx

Multidimensional Space-Time Point Pattern
simdat

Simulated Point Pattern
midpoints.psp

Midpoints of Line Segment Pattern
rmh.ppm

Simulate from a Fitted Point Process Model
simulate.ppm

Simulate a Fitted Gibbs Point Process Model
rmpoispp

Generate Multitype Poisson Point Pattern
ppm.object

Class of Fitted Point Process Models
pppmatching

Create a Point Matching
pixellate.ppp

Convert Point Pattern to Pixel Image
plot.kstest

Plot a Spatial Kolmogorov-Smirnov Test
predict.ppm

Prediction from a Fitted Point Process Model
residuals.ppm

Residuals for Fitted Point Process Model
shift.psp

Apply Vector Translation To Line Segment Pattern
rpoislinetess

Poisson Line Tessellation
rsyst

Simulate systematic random point pattern
rknn

Theoretical Distribution of Nearest Neighbour Distance
update.ppm

Update a Fitted Point Process Model
pixellate

Convert Spatial Object to Pixel Image
simplify.owin

Approximate a Polygon by a Simpler Polygon
rMaternII

Simulate Matern Model II
pppdist

Distance Between Two Point Patterns
pcfdot

Multitype pair correlation function (i-to-any)
rshift.ppp

Randomly Shift a Point Pattern
rescale.psp

Convert Line Segment Pattern to Another Unit of Length
rotate.owin

Rotate a Window
miplot

Morishita Index Plot
qqplot.ppm

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

Humberside Data on Childhood Leukaemia and Lymphoma
ripras

Estimate window from points alone
superimposePSP

Superimpose Several Line Segment Patterns
quantile.im

Sample Quantiles of Pixel Image
which.max.im

Identify Pixelwise Maximum of Several Pixel Images
square

Square Window
eval.fasp

Evaluate Expression Involving Function Arrays
rMosaicField

Mosaic Random Field
rshift.psp

Randomly Shift a Line Segment Pattern
ppm

Fit Point Process Model to Data
spatstat.options

Internal Options in Spatstat Package
Kest.fft

K-function using FFT
is.ppm

Test Whether An Object Is A Fitted Point Process Model
sharpen

Data Sharpening of Point Pattern
rhohat

Smoothing Estimate of Covariate Transformation
runifdisc

Generate N Uniform Random Points in a Disc
varblock

Estimate Variance of Summary Statistic by Subdivision
rcell

Simulate Baddeley-Silverman Cell Process
tiles

Extract List of Tiles in a Tessellation
summary.quad

Summarizing a Quadrature Scheme
project2segment

Move Point To Nearest Line
pairdist.pp3

Pairwise distances in Three Dimensions
pppmatching.object

Class of Point Matchings
quadrat.test.splitppp

Chi-Squared Test of CSR for Split Point Pattern
summary.splitppp

Summary of a Split Point Pattern
rescale.ppp

Convert Point Pattern to Another Unit of Length
heather

Diggle's Heather Data
mean.im

Maximum, Minimum, Mean, Median, Range or Sum of Pixel Values in an Image
fv.object

Data Frames of Function Values
rmhmodel.default

Build Point Process Model for Metropolis-Hastings Simulation.
summary.listof

Summary of a List of Things
stieltjes

Compute Integral of Function Against Cumulative Distribution
simulate.kppm

Simulate a Fitted Cluster Point Process Model
rmh

Simulate point patterns using the Metropolis-Hastings algorithm.
rSSI

Simulate Simple Sequential Inhibition
setcov

Set Covariance of a Window
rmh.default

Simulate Point Process Models using the Metropolis-Hastings Algorithm.
pcfdot.inhom

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

Read Point Pattern From Data File
solutionset

Evaluate Logical Expression Involving Pixel Images and Return Region Where Expression is True
rstrat

Simulate Stratified Random Point Pattern
rshift

Random Shift
Extract.im

Extract Subset of Image
volume

Volume of an Object
shift.ppp

Apply Vector Translation To Point Pattern
unique.ppp

Extract Unique Points from a Spatial Point Pattern
Gdot

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

Divide Region into Quadrats
redwoodfull

California Redwoods Point Pattern (Entire Dataset)
smooth.ppp

Spatial smoothing of observations at irregular points
Gfox

Foxall's Distance Functions
rpoint

Generate N Random Points
redwood

California Redwoods Point Pattern (Ripley's Subset)
tess

Create a Tessellation
Kcross

Multitype K Function (Cross-type)
with.hyperframe

Evaluate an Expression in Each Row of a Hyperframe
Jcross

Multitype J Function (i-to-j)
update.kppm

Update a Fitted Cluster Point Process Model
Lcross.inhom

Inhomogeneous Cross Type L Function
urkiola

Urkiola Woods Point Pattern
rpoispp

Generate Poisson Point Pattern
vcov.ppm

Variance-Covariance Matrix for a Fitted Point Process Model
thomas.estK

Fit the Thomas Point Process by Minimum Contrast
BadGey

Hybrid Geyer Point Process Model
with.fv

Evaluate an Expression in a Function Table
Kmeasure

Reduced Second Moment Measure
union.quad

Union of Data and Dummy Points
Kmulti

Marked K-Function
summary.ppm

Summarizing a Fitted Point Process Model
Geyer

Geyer's Saturation Point Process Model
shapley

Galaxies in the Shapley Supercluster
split.im

Divide Image Into Sub-images
shift.im

Apply Vector Translation To Pixel Image
Kest

K-function
owin.object

Class owin
summary.im

Summarizing a Pixel Image
trim.rectangle

Cut margins from rectangle
summary.owin

Summary of a Spatial Window
unmark

Remove Marks
selfcrossing.psp

Crossing Points in a Line Segment Pattern
Fest

Estimate the empty space function F
Extract.psp

Extract Subset of Line Segment Pattern
Extract.splitppp

Extract or Replace Sub-Patterns
quadratresample

Resample a Point Pattern by Resampling Quadrats
Ldot

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

Multi-Dimensional Box
plot.envelope

Plot a Simulation Envelope
summary.ppp

Summary of a Point Pattern Dataset
rotate.ppp

Rotate a Point Pattern
Fiksel

The Fiksel Interaction
Kcross.inhom

Inhomogeneous Cross K Function
unitname

Name for Unit of Length
Hardcore

The Hard Core Point Process Model
Lcross

Multitype L-function (cross-type)
Ldot.inhom

Inhomogeneous Multitype L Dot Function
AreaInter

The Area Interaction Point Process Model
Jmulti

Marked J Function
G3est

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

Extract Subset of Function Array
Extract.fv

Extract Subset of Function Values
DiggleGatesStibbard

Diggle-Gates-Stibbard Point Process Model
Gmulti

Marked Nearest Neighbour Distance Function
Kdot.inhom

Inhomogeneous Multitype K Dot Function
K3est

K-function of a Three-Dimensional Point Pattern
Iest

Estimate the I-function
Jest

Estimate the J-function
Hest

Spherical Contact Distribution Function
Gcross

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

Diggle-Gratton model
Kscaled

Locally Scaled K-function
F3est

Empty Space Function of a Three-Dimensional Point Pattern
append.psp

Combine Two Line Segment Patterns
area.owin

Area of a Window
as.polygonal

Convert a Window to a Polygonal Window
box3

Three-Dimensional Box
bramblecanes

Hutchings' Bramble Canes data
Extract.ppp

Extract or Replace Subset of Point Pattern
Emark

Diagnostics for random marking
as.psp

Convert Data To Class psp
affine

Apply Affine Transformation
copper

Berman-Huntington points and lines data
blur

Apply Gaussian Blur to a Pixel Image
bei

Tropical rain forest trees
discretise

Safely Convert Point Pattern Window to Binary Mask
fasp.object

Function Arrays for Spatial Patterns
envelope

Simulation Envelopes of Summary Function
is.marked.ppm

Test Whether A Point Process Model is Marked
ewcdf

Weighted Empirical Cumulative Distribution Function
longleaf

Longleaf Pines Point Pattern
markcorr

Mark Correlation Function
spatstat-internal

Internal spatstat functions
hamster

Aherne's hamster tumour data
npoints

Number of Points in a Point Pattern
expand.owin

Expand Window By Factor
plot.pp3

Plot a three-dimensional point pattern
plot.ppp

plot a Spatial Point Pattern
predict.kppm

Prediction from a Fitted Cluster Point Process Model
plot.quad

plot a Spatial Quadrature Scheme
plot.psp

plot a Spatial Line Segment Pattern
plot.plotppm

Plot a plotppm Object Created by plot.ppm
plot.owin

Plot a Spatial Window
clip.infline

Intersect Infinite Straight Lines with a Window
rmhmodel.list

Define Point Process Model for Metropolis-Hastings Simulation.
markvario

Mark Variogram
relrisk

Nonparametric Estimate of Spatially-Varying Relative Risk
runifpointOnLines

Generate N Uniform Random Points On Line Segments
thomas.estpcf

Fit the Thomas Point Process by Minimum Contrast
spatstat-package

The Spatstat Package
rmhstart

Determine Initial State for Metropolis-Hastings Simulation.
spokes

Spokes pattern of dummy points
rotate.psp

Rotate a Line Segment Pattern
spruces

Spruces Point Pattern
rGaussPoisson

Simulate Gauss-Poisson Process
rescue.rectangle

Convert Window Back To Rectangle
Jdot

Multitype J Function (i-to-any)
Extract.tess

Extract or Replace Subset of Tessellation
Extract.listof

Extract or Replace Subset of a List of Things
Kdot

Multitype K Function (i-to-any)