Learn R Programming

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

spatstat (version 1.21-6)

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.21-6

License

GPL (>= 2)

Maintainer

Adrian Baddeley

Last Published

March 26th, 2011

Functions in spatstat (1.21-6)

Extract.im

Extract Subset of Image
angles.psp

Orientation Angles of Line Segments
Hest

Spherical Contact Distribution Function
anova.ppm

ANOVA for Fitted Point Process Models
G3est

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

Diggle-Gratton model
alltypes

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

Concatenate x,y Coordinate Vectors
as.data.frame.im

Convert Pixel Image to Data Frame
affine.ppp

Apply Affine Transformation To Point Pattern
bdist.points

Distance to Boundary of Window
as.polygonal

Convert a Window to a Polygonal Window
Emark

Diagnostics for random marking
affine.psp

Apply Affine Transformation To Line Segment Pattern
crossdist.ppx

Pairwise Distances Between Two Different Multi-Dimensional Point Patterns
Kest.fft

K-function using FFT
bounding.box

Bounding Box of a Window or Point Pattern
is.ppp

Test Whether An Object Is A Point Pattern
eroded.areas

Areas of Morphological Erosions
OrdThresh

Ord's Interaction model
is.im

Test Whether An Object Is A Pixel Image
Jmulti

Marked J Function
nndist.psp

Nearest neighbour distances between line segments
dilation

Morphological Dilation
hist.im

Histogram of Pixel Values in an Image
nbfires

Point Patterns of New Brunswick Forest Fires
matchingdist

Distance for a Point Pattern Matching
bw.stoyan

Stoyan's Rule of Thumb for Bandwidth Selection
coef.slrm

Coefficients of Fitted Spatial Logistic Regression Model
clarkevans

Clark and Evans Aggregation Index
complement.owin

Take Complement of a Window
Lest

L-function
clickppp

Interactively Add Points
DiggleGatesStibbard

Diggle-Gates-Stibbard Point Process Model
by.ppp

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

Weighted Empirical Cumulative Distribution Function
logLik.ppm

Log Likelihood for Poisson Point Process Model
Jcross

Multitype J Function (i-to-j)
latest.news

Print News About Latest Version of Package
area.owin

Area of a Window
SatPiece

Piecewise Constant Saturated Pairwise Interaction Point Process Model
cut.ppp

Classify Points in a Point Pattern
fitted.ppm

Fitted Conditional Intensity for Point Process Model
as.owin

Convert Data To Class owin
Kdot.inhom

Inhomogeneous Multitype K Dot Function
fv

Create a Function Value Table
Kinhom

Inhomogeneous K-function
pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern
dilated.areas

Areas of Morphological Dilations
Poisson

Poisson Point Process Model
fitin.ppm

Extract the Interaction from a Fitted Point Process Model
is.multitype.ppm

Test Whether A Point Process Model is Multitype
pairs.im

Scatterplot Matrix for Pixel Images
pcfinhom

Inhomogeneous Pair Correlation Function
opening

Morphological Opening
clarkevans.test

Clark and Evans Test
crossdist.psp

Pairwise distances between two different line segment patterns
Iest

Estimate the I-function
markstat

Summarise Marks in Every Neighbourhood in a Point Pattern
affine

Apply Affine Transformation
anemones

Beadlet Anemones Data
compatible.fv

Test Whether Two Function Objects Are Compatible
rMosaicSet

Mosaic Random Set
default.rmhcontrol

Set Default Control Parameters for Metropolis-Hastings Algorithm.
is.subset.owin

Determine Whether One Window is Contained In Another
cut.im

Convert Pixel Image from Numeric to Factor
persp.im

Perspective Plot of Pixel Image
kppm

Fit cluster point process model
compatible.im

Test Whether Two Pixel Images Are Compatible
Replace.im

Reset Values in Subset of Image
osteo

Osteocyte Lacunae Data: Replicated Three-Dimensional Point Patterns
bdist.pixels

Distance to Boundary of Window
lgcp.estpcf

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

Resample a Point Pattern by Resampling Quadrats
Ldot.inhom

Inhomogeneous Multitype L Dot Function
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
as.box3

Convert Data to Three-Dimensional Box
pairdist.ppp

Pairwise distances
msr

Signed or Vector-Valued Measure
nnwhich.pp3

Nearest neighbours in three dimensions
Extract.ppp

Extract or Replace Subset of Point Pattern
integral.im

Integral of a Pixel Image
closing

Morphological Closing
colourmap

Colour Lookup Tables
im.object

Class of Images
Ldot

Multitype L-function (i-to-any)
chop.tess

Subdivide a Window or Tessellation using a Set of Lines
MultiStrauss

The Multitype Strauss Point Process Model
distmap.psp

Distance Map of Line Segment Pattern
murchison

Murchison gold deposits
print.psp

Print Brief Details of a Line Segment Pattern Dataset
pcfdot

Multitype pair correlation function (i-to-any)
pairdist.ppx

Pairwise Distances in Any Dimensions
default.expand

Compute Expansion Window for Simulation
Hardcore

The Hard Core Point Process Model
eval.fasp

Evaluate Expression Involving Function Arrays
distmap.ppp

Distance Map of Point Pattern
rescale.owin

Convert Window to Another Unit of Length
density.psp

Kernel Smoothing of Line Segment Pattern
kstest.ppm

Kolmogorov-Smirnov Test for Point Process Model
japanesepines

Japanese Pines Point Pattern
is.multitype

Test whether Object is Multitype
pcfdot.inhom

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

Summarizing a Pixel Image
pairdist.psp

Pairwise distances between line segments
deltametric

Delta Metric
intersect.tess

Intersection of Two Tessellations
rhohat

Smoothing Estimate of Covariate Transformation
ponderosa

Ponderosa Pine Tree Point Pattern
summary.ppm

Summarizing a Fitted Point Process Model
rNeymanScott

Simulate Neyman-Scott Process
Strauss

The Strauss Point Process Model
ppx

Multidimensional Space-Time Point Pattern
rescale.psp

Convert Line Segment Pattern to Another Unit of Length
nndist.pp3

Nearest neighbour distances in three dimensions
Extract.splitppp

Extract or Replace Sub-Patterns
lgcp.estK

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
lengths.psp

Lengths of Line Segments
plot.pp3

Plot a three-dimensional point pattern
spokes

Spokes pattern of dummy points
diagnose.ppm

Diagnostic Plots for Fitted Point Process Model
rcell

Simulate Baddeley-Silverman Cell Process
crossdist.ppp

Pairwise distances between two different point patterns
rpoislinetess

Poisson Line Tessellation
square

Square Window
pcf.ppp

Pair Correlation Function of Point Pattern
tiles

Extract List of Tiles in a Tessellation
plot.splitppp

Plot a List of Point Patterns
methods.box3

Methods for Three-Dimensional Box
shift.ppp

Apply Vector Translation To Point Pattern
letterR

Window in Shape of Letter R
Softcore

The Soft Core Point Process Model
crossdist.pp3

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

Test Whether a Window is Convex
tile.areas

Compute Areas of Tiles in a Tessellation
ripras

Estimate window from points alone
runifpoint

Generate N Uniform Random Points
areaGain

Difference of Disc Areas
BadGey

Hybrid Geyer Point Process Model
is.owin

Test Whether An Object Is A Window
stieltjes

Compute Integral of Function Against Cumulative Distribution
Linhom

L-function
rstrat

Simulate Stratified Random Point Pattern
spruces

Spruces Point Pattern
demopat

Artificial Data Point Pattern
localpcf

Local pair correlation function
marks.psp

Marks of a Line Segment Pattern
pointsOnLines

Place Points Evenly Along Specified Lines
rpoisppOnLines

Generate Poisson Point Pattern on Line Segments
suffstat

Sufficient Statistic of Point Process Model
as.rectangle

Window Frame
whist

Weighted Histogram
bermantest

Berman's Tests for Point Process Model
with.hyperframe

Evaluate an Expression in Each Row of a Hyperframe
ord.family

Ord Interaction Process Family
LennardJones

The Lennard-Jones Potential
redwoodfull

California Redwoods Point Pattern (Entire Dataset)
eem

Exponential Energy Marks
rmpoint

Generate N Random Multitype Points
Fiksel

The Fiksel Interaction
Pairwise

Generic Pairwise Interaction model
endpoints.psp

Endpoints of Line Segment Pattern
shift.im

Apply Vector Translation To Pixel Image
Saturated

Saturated Pairwise Interaction model
distmap

Distance Map
Geyer

Geyer's Saturation Point Process Model
rmhmodel

Define Point Process Model for Metropolis-Hastings Simulation.
sharpen

Data Sharpening of Point Pattern
volume

Volume of an Object
clickpoly

Interactively Define a Polygon
K3est

K-function of a Three-Dimensional Point Pattern
markcorrint

Mark Correlation Integral
plot.colourmap

Plot a Colour Map
Jest

Estimate the J-function
dirichlet.weights

Compute Quadrature Weights Based on Dirichlet Tessellation
update.kppm

Update a Fitted Cluster Point Process Model
colourtools

Convert and Compare Colours in Different Formats
pairsat.family

Saturated Pairwise Interaction Point Process Family
areaLoss

Difference of Disc Areas
plot.psp

plot a Spatial Line Segment Pattern
plot.ppp

plot a Spatial Point Pattern
Kdot

Multitype K Function (i-to-any)
residuals.ppm

Residuals for Fitted Point Process Model
rGaussPoisson

Simulate Gauss-Poisson Process
Kest

K-function
bronzefilter

Bronze gradient filter data
marktable

Tabulate Marks in Neighbourhood of Every Point in a Point Pattern
rmhmodel.default

Build Point Process Model for Metropolis-Hastings Simulation.
applynbd

Apply Function to Every Neighbourhood in a Point Pattern
matclust.estK

Fit the Matern Cluster Point Process by Minimum Contrast
Extract.msr

Extract Subset of Signed or Vector Measure
pppmatching

Create a Point Matching
pixellate.ppp

Convert Point Pattern to Pixel Image
Lcross.inhom

Inhomogeneous Cross Type L Function
rStrauss

Perfect Simulation of the Strauss Process
is.marked.ppm

Test Whether A Point Process Model is Marked
pcfcross

Multitype pair correlation function (cross-type)
shift

Apply Vector Translation
nndist

Nearest neighbour distances
union.quad

Union of Data and Dummy Points
density.ppp

Kernel Smoothed Intensity of Point Pattern
envelope

Simulation Envelopes of Summary Function
spatstat-deprecated

Deprecated spatstat functions
rpoispp3

Generate Poisson Point Pattern in Three Dimensions
print.im

Print Brief Details of an Image
plot.msr

Plot a Signed or Vector-Valued Measure
is.ppm

Test Whether An Object Is A Fitted Point Process Model
midpoints.psp

Midpoints of Line Segment Pattern
tess

Create a Tessellation
rpoispp

Generate Poisson Point Pattern
quadscheme

Generate a Quadrature Scheme from a Point Pattern
Extract.quad

Subset of Quadrature Scheme
Ord

Generic Ord Interaction model
hamster

Aherne's hamster tumour data
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
incircle

Find Largest Circle Inside Window
gridcentres

Rectangular grid of points
rmhmodel.ppm

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

Print a Quadrature Scheme
dirichlet

Dirichlet Tessellation of Point Pattern
summary.ppp

Summary of a Point Pattern Dataset
is.empty

Test Whether An Object Is Empty
F3est

Empty Space Function of a Three-Dimensional Point Pattern
erosion

Morphological Erosion
disc

Circular Window
redwood

California Redwoods Point Pattern (Ripley's Subset)
npoints

Number of Points in a Point Pattern
thomas.estK

Fit the Thomas Point Process by Minimum Contrast
smooth.msr

Smooth a Signed or Vector-Valued Measure
clip.infline

Intersect Infinite Straight Lines with a Window
finpines

Pine saplings in Finland.
simplify.owin

Approximate a Polygon by a Simpler Polygon
Kmulti

Marked K-Function
rmhstart

Determine Initial State for Metropolis-Hastings Simulation.
convexhull

Convex Hull
allstats

Calculate four standard summary functions of a point pattern.
hyperframe

Hyper Data Frame
crossdist

Pairwise distances
ppp

Create a Point Pattern
rmh

Simulate point patterns using the Metropolis-Hastings algorithm.
spatstat-package

The Spatstat Package
trim.rectangle

Cut margins from rectangle
lansing

Lansing Woods Point Pattern
fasp.object

Function Arrays for Spatial Patterns
unmark

Remove Marks
Gfox

Foxall's Distance Functions
rshift.splitppp

Randomly Shift a List of Point Patterns
simdat

Simulated Point Pattern
diameter

Diameter of an Object
rmhmodel.list

Define Point Process Model for Metropolis-Hastings Simulation.
Gcross

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

Mark Variogram
summary.listof

Summary of a List of Things
superimposePSP

Superimpose Several Line Segment Patterns
psp.object

Class of Line Segment Patterns
progressreport

Print Progress Reports
residualspaper

Data and Code From JRSS Discussion Paper on Residuals
bei

Tropical rain forest trees
methods.boxx

Methods for Multi-Dimensional Box
rjitter

Random Perturbation of a Point Pattern
centroid.owin

Centroid of a window
matclust.estpcf

Fit the Matern Cluster Point Process by Minimum Contrast Using Pair Correlation
simulate.ppm

Simulate a Fitted Gibbs Point Process Model
effectfun

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

Move Point To Nearest Line
MultiHard

The Multitype Hard Core Point Process Model
StraussHard

The Strauss / Hard Core Point Process Model
Jdot

Multitype J Function (i-to-any)
cells

Biological Cells Point Pattern
rlabel

Random Re-Labelling of Point Pattern
distfun

Distance Map as a Function
betacells

Beta Ganglion Cells in Cat Retina
periodify

Make Periodic Copies of a Spatial Pattern
is.marked

Test Whether Marks Are Present
miplot

Morishita Index Plot
plot.quad

plot a Spatial Quadrature Scheme
coords

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

Distance Between Two Point Patterns
markconnect

Mark Connection Function
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
lurking

Lurking variable plot
ants

Harkness-Isham ants' nests data
anova.slrm

Analysis of Deviance for Spatial Logistic Regression Models
is.marked.ppp

Test Whether A Point Pattern is Marked
rmh.ppm

Simulate from a Fitted Point Process Model
owin.object

Class owin
as.data.frame.hyperframe

Coerce Hyperframe to Data Frame
im

Create a Pixel Image Object
relrisk

Nonparametric Estimate of Spatially-Varying Relative Risk
crossdist.default

Pairwise distances between two different sets of points
thomas.estpcf

Fit the Thomas Point Process by Minimum Contrast
as.ppp

Convert Data To Class ppp
predict.kppm

Prediction from a Fitted Cluster Point Process Model
istat

Point and Click Interface for Exploratory Analysis of Point Pattern
infline

Infinite Straight Lines
as.hyperframe.ppx

Extract coordinates and marks of multidimensional point pattern
as.im

Convert to Pixel Image
quad.ppm

Extract Quadrature Scheme Used to Fit a Point Process Model
boxx

Multi-Dimensional Box
affine.owin

Apply Affine Transformation To Window
rescale

Convert dataset to another unit of length
pixellate.psp

Convert Line Segment Pattern to Pixel Image
discretise

Safely Convert Point Pattern Window to Binary Mask
pairwise.family

Pairwise Interaction Process Family
markcorr

Mark Correlation Function
bind.fv

Combine Function Value Tables
model.frame.ppm

Extract the Environment of a Point Process Model
rshift

Random Shift
plot.ppm

plot a Fitted Point Process Model
as.data.frame.ppp

Coerce Point Pattern to a Data Frame
quad.object

Class of Quadrature Schemes
contour.im

Contour plot of pixel image
rsyst

Simulate systematic random point pattern
Kscaled

Locally Scaled K-function
rotate.ppp

Rotate a Point Pattern
is.multitype.ppp

Test Whether A Point Pattern is Multitype
Kcross

Multitype K Function (Cross-type)
bramblecanes

Hutchings' Bramble Canes data
AreaInter

The Area Interaction Point Process Model
identify.ppp

Identify Points in a Point Pattern
chorley

Chorley-Ribble Cancer Data
rMaternI

Simulate Matern Model I
longleaf

Longleaf Pines Point Pattern
diameter.boxx

Geometrical Calculations for Multi-Dimensional Box
expand.owin

Expand Window By Factor
plot.im

Plot a Pixel Image
rpoisppx

Generate Poisson Point Pattern in Any Dimensions
rMaternII

Simulate Matern Model II
heather

Diggle's Heather Data
box3

Three-Dimensional Box
nncross

Nearest Neighbours Between Two Patterns
identify.psp

Identify Segments in a Line Segment Pattern
gpc2owin

Convert Polygonal Region into Different Format
lut

Lookup Tables
km.rs

Kaplan-Meier and Reduced Sample Estimator using Histograms
levelset

Level Set of a Pixel Image
shapley

Galaxies in the Shapley Supercluster
pcf.fv

Pair Correlation Function obtained from K Function
unitname

Name for Unit of Length
nsegments

Number of Line Segments in a Line Segment Pattern
unique.ppp

Extract Unique Points from a Spatial Point Pattern
append.psp

Combine Two Line Segment Patterns
rThomas

Simulate Thomas Process
plot.tess

Plot a tessellation
rMatClust

Simulate Matern Cluster Process
inforder.family

Infinite Order Interaction Family
plot.owin

Plot a Spatial Window
model.matrix.ppm

Extract Design Matrix from Point Process Model
pixelquad

Quadrature Scheme Based on Pixel Grid
reduced.sample

Reduced Sample Estimator using Histogram Data
logLik.slrm

Loglikelihood of Spatial Logistic Regression
superimpose

Superimpose Several Point Patterns
Kcross.inhom

Inhomogeneous Cross K Function
nnclean

Nearest Neighbour Clutter Removal
setcov

Set Covariance of a Window
nztrees

New Zealand Trees Point Pattern
runifpoint3

Generate N Uniform Random Points in Three Dimensions
pp3

Three Dimensional Point Pattern
spatstat-internal

Internal spatstat functions
pixellate.owin

Convert Window to Pixel Image
predict.slrm

Predicted or Fitted Values from Spatial Logistic Regression
solutionset

Evaluate Logical Expression Involving Pixel Images and Return Region Where Expression is True
eval.im

Evaluate Expression Involving Pixel Images
update.ppm

Update a Fitted Point Process Model
qqplot.ppm

Q-Q Plot of Residuals from Fitted Point Process Model
quadrat.test.splitppp

Chi-Squared Test of CSR for Split Point Pattern
rthin

Random Thinning
swedishpines

Swedish Pines Point Pattern
ppm.object

Class of Fitted Point Process Models
print.ppm

Print a Fitted Point Process Model
selfcrossing.psp

Crossing Points in a Line Segment Pattern
as.data.frame.psp

Coerce Line Segment Pattern to a Data Frame
plot.hyperframe

Plot Entries in a Hyperframe
predict.ppm

Prediction from a Fitted Point Process Model
quadratcount

Quadrat counting for a point pattern
bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation
fitted.slrm

Fitted Probabilities for Spatial Logistic Regression
mean.im

Maximum, Minimum, Mean, Median, Range or Sum of Pixel Values in an Image
compatible.fasp

Test Whether Two Function Arrays Are Compatible
shift.psp

Apply Vector Translation To Line Segment Pattern
quantile.im

Sample Quantiles of Pixel Image
Gmulti

Marked Nearest Neighbour Distance Function
rshift.ppp

Randomly Shift a Point Pattern
default.dummy

Generate a Default Pattern of Dummy Points
blur

Apply Gaussian Blur to a Pixel Image
as.hyperframe

Convert Data to Hyperframe
print.owin

Print Brief Details of a Spatial Window
runifpointx

Generate N Uniform Random Points in Any Dimensions
plot.kppm

Plot a fitted cluster point process
pairdist.pp3

Pairwise distances in Three Dimensions
duplicated.ppp

Determine Duplicated Points in a Spatial Point Pattern
Kmeasure

Reduced Second Moment Measure
rescale.im

Convert Pixel Image to Another Unit of Length
rmpoispp

Generate Multitype Poisson Point Pattern
slrm

Spatial Logistic Regression
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
border

Border Region of a Window
psp

Create a Line Segment Pattern
rotate.psp

Rotate a Line Segment Pattern
vertices

Vertices of a Window
rlinegrid

Generate grid of parallel lines with random displacement
bounding.box.xy

Convex Hull of Points
raster.x

Cartesian Coordinates for a Pixel Raster
humberside

Humberside Data on Childhood Leukaemia and Lymphoma
fv.object

Data Frames of Function Values
runifdisc

Generate N Uniform Random Points in a Disc
print.ppp

Print Brief Details of a Point Pattern Dataset
nearestsegment

Find Line Segment Nearest to Each Point
nndist.ppx

Nearest Neighbour Distances in Any Dimensions
scanpp

Read Point Pattern From Data File
split.im

Divide Image Into Sub-images
rotate.owin

Rotate a Window
crossing.psp

Crossing Points of Two Line Segment Patterns
ppm

Fit Point Process Model to Data
ppp.object

Class of Point Patterns
Extract.psp

Extract Subset of Line Segment Pattern
rmh.default

Simulate Point Process Models using the Metropolis-Hastings Algorithm.
methods.ppx

Methods for Multidimensional Space-Time Point Patterns
harmonic

Basis for Harmonic Functions
plot.listof

Plot a List of Things
shift.owin

Apply Vector Translation To Window
distmap.owin

Distance Map of Window
nnwhich.ppx

Nearest Neighbours in Any Dimensions
smooth.ppp

Spatial smoothing of observations at irregular points
summary.psp

Summary of a Line Segment Pattern Dataset
rmhcontrol

Set Control Parameters for Metropolis-Hastings Algorithm.
plot.plotppm

Plot a plotppm Object Created by plot.ppm
varblock

Estimate Variance of Summary Statistic by Subdivision
smooth.fv

Apply Smoothing to Function Values
pairdist.default

Pairwise distances
plot.fasp

Plot a Function Array
rescue.rectangle

Convert Window Back To Rectangle
methods.pp3

Methods for three-dimensional point patterns
interp.im

Interpolate a Pixel Image
with.fv

Evaluate an Expression in a Function Table
plot.fv

Plot Function Values
split.ppp

Divide Point Pattern into Sub-patterns
rMosaicField

Mosaic Random Field
which.max.im

Identify Pixelwise Maximum of Several Pixel Images
perimeter

Perimeter Length of Window
vcov.ppm

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

Summarizing a Quadrature Scheme
delaunay

Delaunay Triangulation of Point Pattern
gridweights

Compute Quadrature Weights Based on Grid Counts
as.mask

Pixel Image Approximation of a Window
Extract.listof

Extract or Replace Subset of a List of Things
as.psp

Convert Data To Class psp
convexhull.xy

Convex Hull of Points
Fest

Estimate the empty space function F
adaptive.density

Intensity Estimate of Point Pattern Using Tessellation
Gest

Nearest Neighbour Distance Function G
Extract.fv

Extract Subset of Function Values
bdist.tiles

Distance to Boundary of Window
connected

Connected components of an image or window
collapse.fv

Collapse Several Function Tables into One
diameter.box3

Geometrical Calculations for Three-Dimensional Box
diameter.owin

Diameter of a Window
as.mask.psp

Convert Line Segment Pattern to Binary Pixel Mask
by.im

Apply Function to Image Broken Down by Factor
Extract.fasp

Extract Subset of Function Array
MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
nnwhich

Nearest neighbour
Extract.tess

Extract or Replace Subset of Tessellation
Gdot

Multitype Nearest Neighbour Distance Function (i-to-any)
as.matrix.im

Convert Pixel Image to Matrix or Array
eval.fv

Evaluate Expression Involving Functions
discpartarea

Area of Part of Disc
copper

Berman-Huntington points and lines data
amacrine

Hughes' Amacrine Cell Data
pixellate

Convert Spatial Object to Pixel Image
plot.bermantest

Plot Result of Berman Test
localK

Neighbourhood density function
ganglia

Beta Ganglion Cells in Cat Retina, Old Version
fryplot

Fry Plot of Point Pattern
plot.kstest

Plot a Spatial Kolmogorov-Smirnov Test
inside.owin

Test Whether Points Are Inside A Window
data.ppm

Extract Original Data from a Fitted Point Process Model
plot.slrm

Plot a Fitted Spatial Logistic Regression
as.tess

Convert Data To Tessellation
rescale.ppp

Convert Point Pattern to Another Unit of Length
mincontrast

Method of Minimum Contrast
coef.ppm

Coefficients of Fitted Point Process Model
Lcross

Multitype L-function (cross-type)
methods.distfun

Methods for Distance Functions
pcf.fasp

Pair Correlation Function obtained from array of K functions
pppmatching.object

Class of Point Matchings
rshift.psp

Randomly Shift a Line Segment Pattern
quadrat.test

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

Pair Correlation Function
summary.owin

Summary of a Spatial Window
rotate

Rotate
rSSI

Simulate Simple Sequential Inhibition
cbind.hyperframe

Combine Hyperframes by Rows or by Columns
urkiola

Urkiola Woods Point Pattern
rknn

Theoretical Distribution of Nearest Neighbour Distance
model.images

Compute Images of Constructed Covariates
corners

Corners of a rectangle
dummy.ppm

Extract Dummy Points Used to Fit a Point Process Model
iplot

Point and Click Interface for Displaying a Point Pattern
summary.splitppp

Summary of a Split Point Pattern
nearest.raster.point

Find Pixel Nearest to a Given Point
rpoisline

Generate Poisson Random Line Process
runifpointOnLines

Generate N Uniform Random Points On Line Segments
owin

Create a Window
intersect.owin

Intersection, Union or Set Subtraction of Two Windows
marks

Marks of a Point Pattern
profilepl

Profile Maximum Pseudolikelihood
quadrats

Divide Region into Quadrats
plot.envelope

Plot a Simulation Envelope
rpoint

Generate N Random Points
pairdist

Pairwise distances
spatstat.options

Internal Options in Spatstat Package
reach

Interaction Distance of a Point Process
simulate.kppm

Simulate a Fitted Cluster Point Process Model
multiplicity.ppp

Count Multiplicity of Duplicate Points
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern