Learn R Programming

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

spatstat (version 1.22-0)

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

17,668

Version

1.22-0

License

GPL (>= 2)

Maintainer

Adrian Baddeley

Last Published

April 28th, 2011

Functions in spatstat (1.22-0)

smooth.msr

Smooth a Signed or Vector-Valued Measure
suffstat

Sufficient Statistic of Point Process Model
BadGey

Hybrid Geyer Point Process Model
unmark

Remove Marks
DiggleGatesStibbard

Diggle-Gates-Stibbard Point Process Model
Gdot

Multitype Nearest Neighbour Distance Function (i-to-any)
Kest.fft

K-function using FFT
Pairwise

Generic Pairwise Interaction model
collapse.fv

Collapse Several Function Tables into One
crossdist

Pairwise distances
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
diameter

Diameter of an Object
smooth.ppp

Spatial smoothing of observations at irregular points
gridweights

Compute Quadrature Weights Based on Grid Counts
im

Create a Pixel Image Object
split.ppp

Divide Point Pattern into Sub-patterns
with.fv

Evaluate an Expression in a Function Table
logLik.slrm

Loglikelihood of Spatial Logistic Regression
Emark

Diagnostics for random marking
DiggleGratton

Diggle-Gratton model
F3est

Empty Space Function of a Three-Dimensional Point Pattern
closing

Morphological Closing
longleaf

Longleaf Pines Point Pattern
coef.ppm

Coefficients of Fitted Point Process Model
pairdist.ppx

Pairwise Distances in Any Dimensions
crossdist.ppp

Pairwise distances between two different point patterns
Fiksel

The Fiksel Interaction
G3est

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

Data Sharpening of Point Pattern
print.quad

Print a Quadrature Scheme
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
bounding.box.xy

Convex Hull of Points
relrisk

Nonparametric Estimate of Spatially-Varying Relative Risk
rMosaicSet

Mosaic Random Set
setcov

Set Covariance of a Window
eem

Exponential Energy Marks
chop.tess

Subdivide a Window or Tessellation using a Set of Lines
distmap.psp

Distance Map of Line Segment Pattern
shift.ppp

Apply Vector Translation To Point Pattern
fitin.ppm

Extract the Interaction from a Fitted Point Process Model
rmhmodel

Define Point Process Model for Metropolis-Hastings Simulation.
rmhmodel.ppm

Interpret Fitted Model for Metropolis-Hastings Simulation.
Gmulti

Marked Nearest Neighbour Distance Function
is.im

Test Whether An Object Is A Pixel Image
is.subset.owin

Determine Whether One Window is Contained In Another
amacrine

Hughes' Amacrine Cell Data
simplify.owin

Approximate a Polygon by a Simpler Polygon
Iest

Estimate the I-function
japanesepines

Japanese Pines Point Pattern
applynbd

Apply Function to Every Neighbourhood in a Point Pattern
split.im

Divide Image Into Sub-images
as.rectangle

Window Frame
nearest.raster.point

Find Pixel Nearest to a Given Point
rpoint

Generate N Random Points
shift.owin

Apply Vector Translation To Window
summary.ppm

Summarizing a Fitted Point Process Model
plot.linnet

Plot a linear network
plot.fv

Plot Function Values
solutionset

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

Locally Scaled K-function
runiflpp

Uniform Random Points on a Linear Network
tess

Create a Tessellation
thomas.estK

Fit the Thomas Point Process by Minimum Contrast
spatstat-package

The Spatstat Package
summary.im

Summarizing a Pixel Image
markvario

Mark Variogram
progressreport

Print Progress Reports
bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation
Gfox

Foxall's Distance Functions
MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
shift.psp

Apply Vector Translation To Line Segment Pattern
project2segment

Move Point To Nearest Line
methods.linnet

Methods for Linear Networks
trim.rectangle

Cut margins from rectangle
allstats

Calculate four standard summary functions of a point pattern.
areaGain

Difference of Disc Areas
which.max.im

Identify Pixelwise Maximum of Several Pixel Images
methods.ppx

Methods for Multidimensional Space-Time Point Patterns
Extract.listof

Extract or Replace Subset of a List of Things
Extract.tess

Extract or Replace Subset of Tessellation
ppm

Fit Point Process Model to Data
connected

Connected components of an image or window
diameter.boxx

Geometrical Calculations for Multi-Dimensional Box
inforder.family

Infinite Order Interaction Family
Kmulti

Marked K-Function
data.ppm

Extract Original Data from a Fitted Point Process Model
cut.ppp

Classify Points in a Point Pattern
rThomas

Simulate Thomas Process
Extract.fasp

Extract Subset of Function Array
bdist.points

Distance to Boundary of Window
lgcp.estK

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

California Redwoods Point Pattern (Entire Dataset)
centroid.owin

Centroid of a window
localK

Neighbourhood density function
whist

Weighted Histogram
bind.fv

Combine Function Value Tables
Extract.msr

Extract Subset of Signed or Vector Measure
print.ppm

Print a Fitted Point Process Model
as.data.frame.im

Convert Pixel Image to Data Frame
Extract.quad

Subset of Quadrature Scheme
Jest

Estimate the J-function
Extract.psp

Extract Subset of Line Segment Pattern
simulate.ppm

Simulate a Fitted Gibbs Point Process Model
pairsat.family

Saturated Pairwise Interaction Point Process Family
distfun

Distance Map as a Function
copper

Berman-Huntington points and lines data
fasp.object

Function Arrays for Spatial Patterns
iplot

Point and Click Interface for Displaying a Point Pattern
Jmulti

Marked J Function
Extract.ppp

Extract or Replace Subset of Point Pattern
cut.im

Convert Pixel Image from Numeric to Factor
as.owin

Convert Data To Class owin
blur

Apply Gaussian Blur to a Pixel Image
discpartarea

Area of Part of Disc
plot.colourmap

Plot a Colour Map
psp.object

Class of Line Segment Patterns
fitted.ppm

Fitted Conditional Intensity for Point Process Model
summary.psp

Summary of a Line Segment Pattern Dataset
Ord

Generic Ord Interaction model
is.ppp

Test Whether An Object Is A Point Pattern
is.marked

Test Whether Marks Are Present
kppm

Fit cluster point process model
Lcross.inhom

Inhomogeneous Cross Type L Function
ants

Harkness-Isham ants' nests data
adaptive.density

Intensity Estimate of Point Pattern Using Tessellation
swedishpines

Swedish Pines Point Pattern
bw.stoyan

Stoyan's Rule of Thumb for Bandwidth Selection
shift

Apply Vector Translation
dummy.ppm

Extract Dummy Points Used to Fit a Point Process Model
superimpose

Superimpose Several Geometric Patterns
is.owin

Test Whether An Object Is A Window
Poisson

Poisson Point Process Model
gridcentres

Rectangular grid of points
summary.owin

Summary of a Spatial Window
simulate.kppm

Simulate a Fitted Cluster Point Process Model
summary.quad

Summarizing a Quadrature Scheme
summary.ppp

Summary of a Point Pattern Dataset
nnwhich.ppx

Nearest Neighbours in Any Dimensions
bronzefilter

Bronze gradient filter data
SatPiece

Piecewise Constant Saturated Pairwise Interaction Point Process Model
anemones

Beadlet Anemones Data
summary.splitppp

Summary of a Split Point Pattern
eval.fv

Evaluate Expression Involving Functions
affine.psp

Apply Affine Transformation To Line Segment Pattern
gpc2owin

Convert Polygonal Region into Different Format
distmap

Distance Map
as.ppp

Convert Data To Class ppp
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
nnwhich.pp3

Nearest neighbours in three dimensions
interp.im

Interpolate a Pixel Image
markcorrint

Mark Correlation Integral
harmonic

Basis for Harmonic Functions
as.tess

Convert Data To Tessellation
pixellate

Convert Spatial Object to Pixel Image
im.object

Class of Images
union.quad

Union of Data and Dummy Points
Kinhom

Inhomogeneous K-function
convexhull.xy

Convex Hull of Points
clickppp

Interactively Add Points
Geyer

Geyer's Saturation Point Process Model
Lest

L-function
clip.infline

Intersect Infinite Straight Lines with a Window
spatstat-deprecated

Deprecated spatstat functions
Replace.im

Reset Values in Subset of Image
MultiHard

The Multitype Hard Core Point Process Model
ewcdf

Weighted Empirical Cumulative Distribution Function
LennardJones

The Lennard-Jones Potential
plot.fasp

Plot a Function Array
latest.news

Print News About Latest Version of Package
rcell

Simulate Baddeley-Silverman Cell Process
pcf.fasp

Pair Correlation Function obtained from array of K functions
compatible.fasp

Test Whether Two Function Arrays Are Compatible
as.data.frame.hyperframe

Coerce Hyperframe to Data Frame
smooth.fv

Apply Smoothing to Function Values
as.hyperframe.ppx

Extract coordinates and marks of multidimensional point pattern
Lcross

Multitype L-function (cross-type)
identify.ppp

Identify Points in a Point Pattern
contour.im

Contour plot of pixel image
as.mask.psp

Convert Line Segment Pattern to Binary Pixel Mask
is.ppm

Test Whether An Object Is A Fitted Point Process Model
print.owin

Print Brief Details of a Spatial Window
border

Border Region of a Window
print.ppp

Print Brief Details of a Point Pattern Dataset
bdist.pixels

Distance to Boundary of Window
coords

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

Concatenate x,y Coordinate Vectors
crossdist.ppx

Pairwise Distances Between Two Different Multi-Dimensional Point Patterns
corners

Corners of a rectangle
markstat

Summarise Marks in Every Neighbourhood in a Point Pattern
clickpoly

Interactively Define a Polygon
spatstat.options

Internal Options in Spatstat Package
km.rs

Kaplan-Meier and Reduced Sample Estimator using Histograms
convexhull

Convex Hull
qqplot.ppm

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

Nearest neighbour
density.psp

Kernel Smoothing of Line Segment Pattern
nztrees

New Zealand Trees Point Pattern
methods.lpp

Methods for Point Patterns on a Linear Network
matclust.estK

Fit the Matern Cluster Point Process by Minimum Contrast
rSSI

Simulate Simple Sequential Inhibition
default.expand

Compute Expansion Window for Simulation
varblock

Estimate Variance of Summary Statistic by Subdivision
owin

Create a Window
incircle

Find Largest Circle Inside Window
discretise

Safely Convert Point Pattern Window to Binary Mask
crossdist.default

Pairwise distances between two different sets of points
infline

Infinite Straight Lines
model.matrix.ppm

Extract Design Matrix from Point Process Model
methods.boxx

Methods for Multi-Dimensional Box
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
demopat

Artificial Data Point Pattern
compatible.fv

Test Whether Two Function Objects Are Compatible
density.ppp

Kernel Smoothed Intensity of Point Pattern
integral.im

Integral of a Pixel Image
plot.ppp

plot a Spatial Point Pattern
is.multitype.ppm

Test Whether A Point Process Model is Multitype
quadrat.test

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

Vertices of a Window
diameter.owin

Diameter of a Window
npoints

Number of Points in a Point Pattern
Hardcore

The Hard Core Point Process Model
selfcrossing.psp

Crossing Points in a Line Segment Pattern
erosion

Morphological Erosion
distmap.ppp

Distance Map of Point Pattern
tile.areas

Compute Areas of Tiles in a Tessellation
rescale

Convert dataset to another unit of length
marktable

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

Pine saplings in Finland.
rotate.ppp

Rotate a Point Pattern
plot.envelope

Plot a Simulation Envelope
lurking

Lurking variable plot
rMaternII

Simulate Matern Model II
Kcross.inhom

Inhomogeneous Cross K Function
scanpp

Read Point Pattern From Data File
lpp

Create Point Pattern on Linear Network
fv

Create a Function Value Table
nbfires

Point Patterns of New Brunswick Forest Fires
pcfdot.inhom

Inhomogeneous Multitype Pair Correlation Function (Type-i-To-Any-Type)
crossdist.psp

Pairwise distances between two different line segment patterns
fryplot

Fry Plot of Point Pattern
is.marked.ppm

Test Whether A Point Process Model is Marked
shift.im

Apply Vector Translation To Pixel Image
alltypes

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

Volume of an Object
plot.hyperframe

Plot Entries in a Hyperframe
spatstat-internal

Internal spatstat functions
ganglia

Beta Ganglion Cells in Cat Retina, Old Version
spruces

Spruces Point Pattern
quadrat.test.splitppp

Chi-Squared Test of CSR for Split Point Pattern
pppmatching.object

Class of Point Matchings
humberside

Humberside Data on Childhood Leukaemia and Lymphoma
plot.ppm

plot a Fitted Point Process Model
levelset

Level Set of a Pixel Image
plot.im

Plot a Pixel Image
msr

Signed or Vector-Valued Measure
OrdThresh

Ord's Interaction model
rMatClust

Simulate Matern Cluster Process
reach

Interaction Distance of a Point Process
Gest

Nearest Neighbour Distance Function G
opening

Morphological Opening
linnet

Create a Linear Network
nndist.ppx

Nearest Neighbour Distances in Any Dimensions
stieltjes

Compute Integral of Function Against Cumulative Distribution
Jdot

Multitype J Function (i-to-any)
plot.kstest

Plot a Spatial Kolmogorov-Smirnov Test
lut

Lookup Tables
quadratcount

Quadrat counting for a point pattern
localpcf

Local pair correlation function
area.owin

Area of a Window
methods.pp3

Methods for three-dimensional point patterns
pairdist.default

Pairwise distances
areaLoss

Difference of Disc Areas
Extract.im

Extract Subset of Image
summary.listof

Summary of a List of Things
Kdot

Multitype K Function (i-to-any)
Ldot

Multitype L-function (i-to-any)
raster.x

Cartesian Coordinates for a Pixel Raster
matclust.estpcf

Fit the Matern Cluster Point Process by Minimum Contrast Using Pair Correlation
plot.listof

Plot a List of Things
methods.box3

Methods for Three-Dimensional Box
quadscheme

Generate a Quadrature Scheme from a Point Pattern
quad.ppm

Extract Quadrature Scheme Used to Fit a Point Process Model
Kest

K-function
reduced.sample

Reduced Sample Estimator using Histogram Data
Kmeasure

Reduced Second Moment Measure
nndist

Nearest neighbour distances
pcf.ppp

Pair Correlation Function of Point Pattern
residuals.ppm

Residuals for Fitted Point Process Model
by.ppp

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

Square Window
nncross

Nearest Neighbours Between Two Patterns
midpoints.psp

Midpoints of Line Segment Pattern
rhohat

Smoothing Estimate of Covariate Transformation
affine

Apply Affine Transformation
heather

Diggle's Heather Data
MultiStrauss

The Multitype Strauss Point Process Model
rsyst

Simulate systematic random point pattern
unique.ppp

Extract Unique Points from a Spatial Point Pattern
Extract.splitppp

Extract or Replace Sub-Patterns
murchison

Murchison gold deposits
predict.kppm

Prediction from a Fitted Cluster Point Process Model
nsegments

Number of Line Segments in a Line Segment Pattern
nnclean

Nearest Neighbour Clutter Removal
update.ppm

Update a Fitted Point Process Model
boxx

Multi-Dimensional Box
ppx

Multidimensional Space-Time Point Pattern
StraussHard

The Strauss / Hard Core Point Process Model
pppdist

Distance Between Two Point Patterns
hist.im

Histogram of Pixel Values in an Image
rpoislpp

Poisson Point Process on a Linear Network
rpoispp3

Generate Poisson Point Pattern in Three Dimensions
pixellate.owin

Convert Window to Pixel Image
rmh.default

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

Resample a Point Pattern by Resampling Quadrats
identify.psp

Identify Segments in a Line Segment Pattern
rshift.splitppp

Randomly Shift a List of Point Patterns
letterR

Window in Shape of Letter R
clarkevans

Clark and Evans Aggregation Index
cells

Biological Cells Point Pattern
cbind.hyperframe

Combine Hyperframes by Rows or by Columns
update.kppm

Update a Fitted Cluster Point Process Model
predict.ppm

Prediction from a Fitted Point Process Model
anova.ppm

ANOVA for Fitted Point Process Models
append.psp

Combine Two Line Segment Patterns
affine.owin

Apply Affine Transformation To Window
rGaussPoisson

Simulate Gauss-Poisson Process
default.rmhcontrol

Set Default Control Parameters for Metropolis-Hastings Algorithm.
rknn

Theoretical Distribution of Nearest Neighbour Distance
urkiola

Urkiola Woods Point Pattern
plot.slrm

Plot a Fitted Spatial Logistic Regression
print.im

Print Brief Details of an Image
Hest

Spherical Contact Distribution Function
markconnect

Mark Connection Function
is.marked.ppp

Test Whether A Point Pattern is Marked
bramblecanes

Hutchings' Bramble Canes data
ppp

Create a Point Pattern
colourtools

Convert and Compare Colours in Different Formats
profilepl

Profile Maximum Pseudolikelihood
clickjoin

Interactively join vertices on a plot
eval.im

Evaluate Expression Involving Pixel Images
Saturated

Saturated Pairwise Interaction model
delaunay

Delaunay Triangulation of Point Pattern
rpoislinetess

Poisson Line Tessellation
rlinegrid

Generate grid of parallel lines with random displacement
plot.tess

Plot a tessellation
coef.slrm

Coefficients of Fitted Spatial Logistic Regression Model
marks

Marks of a Point Pattern
quantile.im

Sample Quantiles of Pixel Image
rmhmodel.list

Define Point Process Model for Metropolis-Hastings Simulation.
dilation

Morphological Dilation
dirichlet.weights

Compute Quadrature Weights Based on Dirichlet Tessellation
rescale.ppp

Convert Point Pattern to Another Unit of Length
rMaternI

Simulate Matern Model I
miplot

Morishita Index Plot
plot.psp

plot a Spatial Line Segment Pattern
eval.fasp

Evaluate Expression Involving Function Arrays
anova.slrm

Analysis of Deviance for Spatial Logistic Regression Models
expand.owin

Expand Window By Factor
as.data.frame.ppp

Coerce Point Pattern to a Data Frame
nearestsegment

Find Line Segment Nearest to Each Point
is.multitype.ppp

Test Whether A Point Pattern is Multitype
owin.object

Class owin
pcf.fv

Pair Correlation Function obtained from K Function
runifpoint3

Generate N Uniform Random Points in Three Dimensions
pixellate.psp

Convert Line Segment Pattern to Pixel Image
rshift.psp

Randomly Shift a Line Segment Pattern
rmhstart

Determine Initial State for Metropolis-Hastings Simulation.
bei

Tropical rain forest trees
ripras

Estimate window from points alone
rmpoispp

Generate Multitype Poisson Point Pattern
print.psp

Print Brief Details of a Line Segment Pattern Dataset
fv.object

Data Frames of Function Values
plot.plotppm

Plot a plotppm Object Created by plot.ppm
as.hyperframe

Convert Data to Hyperframe
plot.owin

Plot a Spatial Window
hyperframe

Hyper Data Frame
is.multitype

Test whether Object is Multitype
bounding.box

Bounding Box of a Window or Point Pattern
nndist.psp

Nearest neighbour distances between line segments
rshift.ppp

Randomly Shift a Point Pattern
rescale.psp

Convert Line Segment Pattern to Another Unit of Length
is.convex

Test Whether a Window is Convex
pairdist

Pairwise distances
markcorr

Mark Correlation Function
lgcp.estpcf

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
plot.quad

plot a Spatial Quadrature Scheme
by.im

Apply Function to Image Broken Down by Factor
rStrauss

Perfect Simulation of the Strauss Process
pairdist.pp3

Pairwise distances in Three Dimensions
rmhcontrol

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

Scatterplot Matrix for Pixel Images
as.box3

Convert Data to Three-Dimensional Box
crossdist.pp3

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

Test Whether An Object Is Empty
Strauss

The Strauss Point Process Model
slrm

Spatial Logistic Regression
as.psp

Convert Data To Class psp
pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern
dirichlet

Dirichlet Tessellation of Point Pattern
plot.bermantest

Plot Result of Berman Test
endpoints.psp

Endpoints of Line Segment Pattern
pairdist.psp

Pairwise distances between line segments
pcf

Pair Correlation Function
pppmatching

Create a Point Matching
pcfcross.inhom

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

Plot a three-dimensional point pattern
circumradius

Circumradius and Diameter of a Linear Network
pixellate.ppp

Convert Point Pattern to Pixel Image
rescale.owin

Convert Window to Another Unit of Length
bdist.tiles

Distance to Boundary of Window
intersect.owin

Intersection, Union or Set Subtraction of Two Windows
intersect.tess

Intersection of Two Tessellations
plot.splitppp

Plot a List of Point Patterns
fitted.slrm

Fitted Probabilities for Spatial Logistic Regression
diagnose.ppm

Diagnostic Plots for Fitted Point Process Model
hamster

Aherne's hamster tumour data
rjitter

Random Perturbation of a Point Pattern
rotate

Rotate
ppm.object

Class of Fitted Point Process Models
model.frame.ppm

Extract the Environment of a Point Process Model
logLik.ppm

Log Likelihood for Poisson Point Process Model
effectfun

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

Divide Region into Quadrats
rpoispp

Generate Poisson Point Pattern
rmh

Simulate point patterns using the Metropolis-Hastings algorithm.
rpoisline

Generate Poisson Random Line Process
osteo

Osteocyte Lacunae Data: Replicated Three-Dimensional Point Patterns
matchingdist

Distance for a Point Pattern Matching
rpoisppx

Generate Poisson Point Pattern in Any Dimensions
runifdisc

Generate N Uniform Random Points in a Disc
pcfcross

Multitype pair correlation function (cross-type)
methods.distfun

Methods for Distance Functions
rmhmodel.default

Build Point Process Model for Metropolis-Hastings Simulation.
persp.im

Perspective Plot of Pixel Image
nndist.pp3

Nearest neighbour distances in three dimensions
rlabel

Random Re-Labelling of Point Pattern
mean.im

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

Multitype pair correlation function (i-to-any)
plot.msr

Plot a Signed or Vector-Valued Measure
plot.kppm

Plot a fitted cluster point process
pp3

Three Dimensional Point Pattern
unitname

Name for Unit of Length
predict.slrm

Predicted or Fitted Values from Spatial Logistic Regression
Fest

Estimate the empty space function F
runifpointx

Generate N Uniform Random Points in Any Dimensions
Jcross

Multitype J Function (i-to-j)
Ldot.inhom

Inhomogeneous Multitype L Dot Function
Linhom

L-function
as.data.frame.psp

Coerce Line Segment Pattern to a Data Frame
chorley

Chorley-Ribble Cancer Data
bermantest

Berman's Tests for Point Process Model
Kdot.inhom

Inhomogeneous Multitype K Dot Function
colourmap

Colour Lookup Tables
betacells

Beta Ganglion Cells in Cat Retina
dilated.areas

Areas of Morphological Dilations
disc

Circular Window
distmap.owin

Distance Map of Window
inside.owin

Test Whether Points Are Inside A Window
kstest.ppm

Kolmogorov-Smirnov Test for Point Process Model
lengths.psp

Lengths of Line Segments
simdat

Simulated Point Pattern
simplenet

Simple Example of Linear Network
istat

Point and Click Interface for Exploratory Analysis of Point Pattern
thomas.estpcf

Fit the Thomas Point Process by Minimum Contrast
multiplicity.ppp

Count Multiplicity of Duplicate Points
vcov.ppm

Variance-Covariance Matrix for a Fitted Point Process Model
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
with.hyperframe

Evaluate an Expression in Each Row of a Hyperframe
Softcore

The Soft Core Point Process Model
box3

Three-Dimensional Box
angles.psp

Orientation Angles of Line Segments
pairwise.family

Pairwise Interaction Process Family
periodify

Make Periodic Copies of a Spatial Pattern
compatible.im

Test Whether Two Pixel Images Are Compatible
pixelquad

Quadrature Scheme Based on Pixel Grid
pcfinhom

Inhomogeneous Pair Correlation Function
complement.owin

Take Complement of a Window
envelope

Simulation Envelopes of Summary Function
duplicated.ppp

Determine Duplicated Points in a Spatial Point Pattern
eroded.areas

Areas of Morphological Erosions
pointsOnLines

Place Points Evenly Along Specified Lines
rNeymanScott

Simulate Neyman-Scott Process
rescue.rectangle

Convert Window Back To Rectangle
rshift

Random Shift
marks.psp

Marks of a Line Segment Pattern
mincontrast

Method of Minimum Contrast
model.images

Compute Images of Constructed Covariates
ord.family

Ord Interaction Process Family
shapley

Galaxies in the Shapley Supercluster
pairdist.ppp

Pairwise distances
spokes

Spokes pattern of dummy points
tiles

Extract List of Tiles in a Tessellation
Extract.fv

Extract Subset of Function Values
AreaInter

The Area Interaction Point Process Model
Gcross

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

Multitype K Function (Cross-type)
affine.ppp

Apply Affine Transformation To Point Pattern
K3est

K-function of a Three-Dimensional Point Pattern
as.im

Convert to Pixel Image
as.mask

Pixel Image Approximation of a Window
as.matrix.im

Convert Pixel Image to Matrix or Array
as.polygonal

Convert a Window to a Polygonal Window
clarkevans.test

Clark and Evans Test
default.dummy

Generate a Default Pattern of Dummy Points
crossing.psp

Crossing Points of Two Line Segment Patterns
ponderosa

Ponderosa Pine Tree Point Pattern
redwood

California Redwoods Point Pattern (Ripley's Subset)
residualspaper

Data and Code From JRSS Discussion Paper on Residuals
diameter.box3

Geometrical Calculations for Three-Dimensional Box
deltametric

Delta Metric
lansing

Lansing Woods Point Pattern
rotate.psp

Rotate a Line Segment Pattern
perimeter

Perimeter Length of Window
ppp.object

Class of Point Patterns
psp

Create a Line Segment Pattern
rthin

Random Thinning
quad.object

Class of Quadrature Schemes
rMosaicField

Mosaic Random Field
rmh.ppm

Simulate from a Fitted Point Process Model
rmpoint

Generate N Random Multitype Points
rstrat

Simulate Stratified Random Point Pattern
rotate.owin

Rotate a Window
rpoisppOnLines

Generate Poisson Point Pattern on Line Segments
runifpointOnLines

Generate N Uniform Random Points On Line Segments
runifpoint

Generate N Uniform Random Points
rescale.im

Convert Pixel Image to Another Unit of Length