Learn R Programming

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

spatstat (version 1.23-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

17,668

Version

1.23-6

License

GPL (>= 2)

Maintainer

Adrian Baddeley

Last Published

October 11th, 2011

Functions in spatstat (1.23-6)

rthin

Random Thinning
simulate.ppm

Simulate a Fitted Gibbs Point Process Model
rpoispp3

Generate Poisson Point Pattern in Three Dimensions
square

Square Window
rpoisppx

Generate Poisson Point Pattern in Any Dimensions
shapley

Galaxies in the Shapley Supercluster
tiles

Extract List of Tiles in a Tessellation
shift

Apply Vector Translation
smooth.fv

Apply Smoothing to Function Values
unique.ppp

Extract Unique Points from a Spatial Point Pattern
summary.splitppp

Summary of a Split Point Pattern
update.ppm

Update a Fitted Point Process Model
stieltjes

Compute Integral of Function Against Cumulative Distribution
solutionset

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

Compute Quadratic Forms
summary.ppp

Summary of a Point Pattern Dataset
volume

Volume of an Object
suffstat

Sufficient Statistic of Point Process Model
unmark

Remove Marks
runifpoint

Generate N Uniform Random Points
rsyst

Simulate systematic random point pattern
update.kppm

Update a Fitted Cluster Point Process Model
smooth.ppp

Spatial smoothing of observations at irregular points
rpoislpp

Poisson Point Process on a Linear Network
rshift.ppp

Randomly Shift a Point Pattern
split.im

Divide Image Into Sub-images
varblock

Estimate Variance of Summary Statistic by Subdivision
zapsmall.im

Rounding of Pixel Values
rshift.splitppp

Randomly Shift a List of Point Patterns
spatstat-package

The Spatstat Package
runiflpp

Uniform Random Points on a Linear Network
smooth.msr

Smooth a Signed or Vector-Valued Measure
trim.rectangle

Cut margins from rectangle
which.max.im

Identify Pixelwise Maximum of Several Pixel Images
spokes

Spokes pattern of dummy points
runifpoint3

Generate N Uniform Random Points in Three Dimensions
rpoisppOnLines

Generate Poisson Point Pattern on Line Segments
shift.im

Apply Vector Translation To Pixel Image
union.quad

Union of Data and Dummy Points
summary.psp

Summary of a Line Segment Pattern Dataset
tile.areas

Compute Areas of Tiles in a Tessellation
with.fv

Evaluate an Expression in a Function Table
tess

Create a Tessellation
spruces

Spruces Point Pattern
selfcrossing.psp

Crossing Points in a Line Segment Pattern
summary.owin

Summary of a Spatial Window
rpoispp

Generate Poisson Point Pattern
swedishpines

Swedish Pines Point Pattern
runifdisc

Generate N Uniform Random Points in a Disc
scaletointerval

Rescale Data to Lie Between Specified Limits
unitname

Name for Unit of Length
whist

Weighted Histogram
rpoislinetess

Poisson Line Tessellation
rpoisline

Generate Poisson Random Line Process
rshift.psp

Randomly Shift a Line Segment Pattern
simplify.owin

Approximate a Polygon by a Simpler Polygon
rstrat

Simulate Stratified Random Point Pattern
shift.ppp

Apply Vector Translation To Point Pattern
AreaInter

The Area Interaction Point Process Model
bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation
Softcore

The Soft Core Point Process Model
setcov

Set Covariance of a Window
runifpointOnLines

Generate N Uniform Random Points On Line Segments
summary.listof

Summary of a List of Things
runifpointx

Generate N Uniform Random Points in Any Dimensions
compareFit

Residual Diagnostics for Multiple Fitted Models
simulate.kppm

Simulate a Fitted Cluster Point Process Model
split.ppp

Divide Point Pattern into Sub-patterns
vcov.ppm

Variance-Covariance Matrix for a Fitted Point Process Model
collapse.fv

Collapse Several Function Tables into One
Gmulti

Marked Nearest Neighbour Distance Function
discretise

Safely Convert Point Pattern Window to Binary Mask
simplenet

Simple Example of Linear Network
allstats

Calculate four standard summary functions of a point pattern.
Kdot.inhom

Inhomogeneous Multitype K Dot Function
heather

Diggle's Heather Data
fitted.ppm

Fitted Conditional Intensity for Point Process Model
Gest

Nearest Neighbour Distance Function G
bw.diggle

Cross Validated Bandwidth Selection for Kernel Density
spatstat.options

Internal Options in Spatstat Package
summary.ppm

Summarizing a Fitted Point Process Model
Kcross

Multitype K Function (Cross-type)
superimpose

Superimpose Several Geometric Patterns
Kest

K-function
Extract.listof

Extract or Replace Subset of a List of Things
bronzefilter

Bronze gradient filter data
incircle

Find Largest Circle Inside Window
as.matrix.im

Convert Pixel Image to Matrix or Array
inforder.family

Infinite Order Interaction Family
connected

Connected components of an image or window
Kest.fft

K-function using FFT
Hardcore

The Hard Core Point Process Model
bdist.points

Distance to Boundary of Window
by.ppp

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

Residual K Function
corners

Corners of a rectangle
as.im

Convert to Pixel Image
bind.fv

Combine Function Value Tables
distmap.ppp

Distance Map of Point Pattern
is.empty

Test Whether An Object Is Empty
Emark

Diagnostics for random marking
OrdThresh

Ord's Interaction model
Iest

Estimate the I-function
is.im

Test Whether An Object Is A Pixel Image
chorley

Chorley-Ribble Cancer Data
thomas.estK

Fit the Thomas Point Process by Minimum Contrast
dilated.areas

Areas of Morphological Dilations
Kdot

Multitype K Function (i-to-any)
G3est

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

Apply Affine Transformation
is.stationary

Recognise Stationary and Poisson Point Process Models
as.mask

Pixel Image Approximation of a Window
alltypes

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

Delta Metric
Saturated

Saturated Pairwise Interaction model
is.multitype

Test whether Object is Multitype
eval.im

Evaluate Expression Involving Pixel Images
SatPiece

Piecewise Constant Saturated Pairwise Interaction Point Process Model
lut

Lookup Tables
Extract.im

Extract Subset of Image
bdist.pixels

Distance to Boundary of Window
hamster

Aherne's hamster tumour data
miplot

Morishita Index Plot
convexhull

Convex Hull
anova.lppm

ANOVA for Fitted Point Process Models on Linear Network
nndist.pp3

Nearest neighbour distances in three dimensions
crossdist.ppp

Pairwise distances between two different point patterns
marktable

Tabulate Marks in Neighbourhood of Every Point in a Point Pattern
plot.fv

Plot Function Values
spatstat-deprecated

Deprecated spatstat functions
fitin.ppm

Extract the Interaction from a Fitted Point Process Model
Extract.fasp

Extract Subset of Function Array
crossdist.ppx

Pairwise Distances Between Two Different Multi-Dimensional Point Patterns
circumradius

Circumradius and Diameter of a Linear Network
intersect.owin

Intersection, Union or Set Subtraction of Two Windows
discpartarea

Area of Part of Disc
pairdist.default

Pairwise distances
identify.psp

Identify Segments in a Line Segment Pattern
quadrats

Divide Region into Quadrats
kstest.ppm

Kolmogorov-Smirnov Test for Point Process Model
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
envelope.envelope

Recompute Envelopes
delaunay

Delaunay Triangulation of Point Pattern
im

Create a Pixel Image Object
Poisson

Poisson Point Process Model
fasp.object

Function Arrays for Spatial Patterns
quadscheme

Generate a Quadrature Scheme from a Point Pattern
methods.pp3

Methods for three-dimensional point patterns
markvario

Mark Variogram
fitted.slrm

Fitted Probabilities for Spatial Logistic Regression
default.dummy

Generate a Default Pattern of Dummy Points
as.interact

Extract Interaction Structure
Gdot

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

The Lennard-Jones Potential
DiggleGratton

Diggle-Gratton model
km.rs

Kaplan-Meier and Reduced Sample Estimator using Histograms
distmap

Distance Map
bramblecanes

Hutchings' Bramble Canes data
rmh

Simulate point patterns using the Metropolis-Hastings algorithm.
DiggleGatesStibbard

Diggle-Gates-Stibbard Point Process Model
model.matrix.ppm

Extract Design Matrix from Point Process Model
diameter

Diameter of an Object
project2segment

Move Point To Nearest Line
contour.listof

Plot a List of Things
crossdist.default

Pairwise distances between two different sets of points
fv.object

Function Value Table
cbind.hyperframe

Combine Hyperframes by Rows or by Columns
dilation

Morphological Dilation
MultiHard

The Multitype Hard Core Point Process Model
lgcp.estK

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

Extract Subset of Signed or Vector Measure
crossing.psp

Crossing Points of Two Line Segment Patterns
pairdist.ppp

Pairwise distances
rMaternII

Simulate Matern Model II
plot.slrm

Plot a Fitted Spatial Logistic Regression
kppm

Fit Cluster or Cox Point Process Model
Kmulti

Marked K-Function
markconnect

Mark Connection Function
localpcf

Local pair correlation function
affine.psp

Apply Affine Transformation To Line Segment Pattern
reach

Interaction Distance of a Point Process
rmhmodel

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

Coefficients of Fitted Spatial Logistic Regression Model
lineardisc

Compute Disc of Given Radius in Linear Network
logLik.slrm

Loglikelihood of Spatial Logistic Regression
rcell

Simulate Baddeley-Silverman Cell Process
owin

Create a Window
longleaf

Longleaf Pines Point Pattern
ppp

Create a Point Pattern
dummy.ppm

Extract Dummy Points Used to Fit a Point Process Model
linearpcfinhom

Inhomogeneous Linear Pair Correlation Function
coords

Extract or Change Coordinates of a Spatial or Spatiotemporal Point Pattern
as.box3

Convert Data to Three-Dimensional Box
Gfox

Foxall's Distance Functions
rNeymanScott

Simulate Neyman-Scott Process
cut.ppp

Classify Points in a Point Pattern
colourmap

Colour Lookup Tables
ripras

Estimate window from points alone
linnet

Create a Linear Network
Extract.quad

Subset of Quadrature Scheme
print.owin

Print Brief Details of a Spatial Window
methods.kppm

Methods for Cluster Point Process Models
linim

Create Pixel Image on Linear Network
nndist.psp

Nearest neighbour distances between line segments
Extract.ppp

Extract or Replace Subset of Point Pattern
lurking

Lurking variable plot
pairdist.psp

Pairwise distances between line segments
disc

Circular Window
angles.psp

Orientation Angles of Line Segments
quadratcount

Quadrat counting for a point pattern
pixellate.ppp

Convert Point Pattern to Pixel Image
npfun

Dummy Function Returns Number of Points
as.psp

Convert Data To Class psp
diameter.box3

Geometrical Calculations for Three-Dimensional Box
as.data.frame.im

Convert Pixel Image to Data Frame
japanesepines

Japanese Pines Point Pattern
eroded.areas

Areas of Morphological Erosions
nndist.ppx

Nearest Neighbour Distances in Any Dimensions
endpoints.psp

Endpoints of Line Segment Pattern
rlinegrid

Generate grid of parallel lines with random displacement
iplot

Point and Click Interface for Displaying a Point Pattern
print.ppp

Print Brief Details of a Point Pattern Dataset
is.ppm

Test Whether An Object Is A Fitted Point Process Model
Gcom

Model Compensator of Nearest Neighbour Function
bounding.box

Bounding Box of a Window or Point Pattern
crossdist.pp3

Pairwise distances between two different three-dimensional point patterns
betacells

Beta Ganglion Cells in Cat Retina
crossdist.psp

Pairwise distances between two different line segment patterns
as.owin

Convert Data To Class owin
clickpoly

Interactively Define a Polygon
is.multitype.ppm

Test Whether A Point Process Model is Multitype
methods.linnet

Methods for Linear Networks
bermantest

Berman's Tests for Point Process Model
npoints

Number of Points in a Point Pattern
hyperframe

Hyper Data Frame
Geyer

Geyer's Saturation Point Process Model
finpines

Pine saplings in Finland.
quad.ppm

Extract Quadrature Scheme Used to Fit a Point Process Model
expand.owin

Expand Window By Factor
methods.distfun

Methods for Distance Functions
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
dirichlet.weights

Compute Quadrature Weights Based on Dirichlet Tessellation
rMosaicSet

Mosaic Random Set
diagnose.ppm

Diagnostic Plots for Fitted Point Process Model
centroid.owin

Centroid of a window
pcf.fasp

Pair Correlation Function obtained from array of K functions
pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
Jcross

Multitype J Function (i-to-j)
rmpoint

Generate N Random Multitype Points
identify.ppp

Identify Points in a Point Pattern
psp.object

Class of Line Segment Patterns
clarkevans

Clark and Evans Aggregation Index
Fest

Estimate the empty space function F
fryplot

Fry Plot of Point Pattern
Kmodel

K function of a model
compatible.fasp

Test Whether Two Function Arrays Are Compatible
plot.psp

plot a Spatial Line Segment Pattern
quantile.im

Sample Quantiles of Pixel Image
anova.slrm

Analysis of Deviance for Spatial Logistic Regression Models
rmhmodel.ppm

Interpret Fitted Model for Metropolis-Hastings Simulation.
harmonise.im

Make Pixel Images Compatible
hist.im

Histogram of Pixel Values in an Image
plot.fasp

Plot a Function Array
pcf.ppp

Pair Correlation Function of Point Pattern
is.convex

Test Whether a Window is Convex
nztrees

New Zealand Trees Point Pattern
Lcross.inhom

Inhomogeneous Cross Type L Function
formula.ppm

Model Formulae for Gibbs Point Process Models
rescale

Convert dataset to another unit of length
residuals.ppm

Residuals for Fitted Point Process Model
layered

Create List of Plotting Layers
plot.kppm

Plot a fitted cluster point process
linearKinhom

Inhomogeneous Linear K Function
methods.ppx

Methods for Multidimensional Space-Time Point Patterns
plot.ppp

plot a Spatial Point Pattern
K3est

K-function of a Three-Dimensional Point Pattern
diameter.boxx

Geometrical Calculations for Multi-Dimensional Box
midpoints.psp

Midpoints of Line Segment Pattern
Jdot

Multitype J Function (i-to-any)
markstat

Summarise Marks in Every Neighbourhood in a Point Pattern
lppm

Fit Point Process Model to Point Pattern on Linear Network
model.images

Compute Images of Constructed Covariates
clarkevans.test

Clark and Evans Test
Extract.fv

Extract Subset of Function Values
localK

Neighbourhood density function
envelope

Simulation Envelopes of Summary Function
nbfires

Point Patterns of New Brunswick Forest Fires
pool.envelope

Pool Data from Several Envelopes
psst

Pseudoscore Diagnostic For Fitted Model against General Alternative
plot.listof

Plot a List of Things
Kcross.inhom

Inhomogeneous Cross K Function
fv

Create a Function Value Table
as.data.frame.ppp

Coerce Point Pattern to a Data Frame
Jmulti

Marked J Function
Lest

L-function
psp

Create a Line Segment Pattern
osteo

Osteocyte Lacunae Data: Replicated Three-Dimensional Point Patterns
matchingdist

Distance for a Point Pattern Matching
murchison

Murchison gold deposits
pairdist.pp3

Pairwise distances in Three Dimensions
by.im

Apply Function to Image Broken Down by Factor
is.marked

Test Whether Marks Are Present
distmap.psp

Distance Map of Line Segment Pattern
residualspaper

Data and Code From JRSS Discussion Paper on Residuals
rescale.ppp

Convert Point Pattern to Another Unit of Length
flu

Influenza Virus Proteins
markcorrint

Mark Correlation Integral
is.marked.ppp

Test Whether A Point Pattern is Marked
Kmeasure

Reduced Second Moment Measure
applynbd

Apply Function to Every Neighbourhood in a Point Pattern
amacrine

Hughes' Amacrine Cell Data
methods.box3

Methods for Three-Dimensional Box
affine.owin

Apply Affine Transformation To Window
pairdist.lpp

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

Diameter of a Window
pairs.im

Scatterplot Matrix for Pixel Images
Extract.psp

Extract Subset of Line Segment Pattern
rmhstart

Determine Initial State for Metropolis-Hastings Simulation.
rknn

Theoretical Distribution of Nearest Neighbour Distance
nearest.raster.point

Find Pixel Nearest to a Given Point
plot.linnet

Plot a linear network
plot.kstest

Plot a Spatial Kolmogorov-Smirnov Test
F3est

Empty Space Function of a Three-Dimensional Point Pattern
nnwhich

Nearest neighbour
pcfcross

Multitype pair correlation function (cross-type)
cells

Biological Cells Point Pattern
Gcross

Multitype Nearest Neighbour Distance Function (i-to-j)
Replace.im

Reset Values in Subset of Image
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
plot.splitppp

Plot a List of Point Patterns
pairwise.family

Pairwise Interaction Process Family
Kinhom

Inhomogeneous K-function
methods.boxx

Methods for Multi-Dimensional Box
mean.im

Maximum, Minimum, Mean, Median, Range or Sum of Pixel Values in an Image
methods.lppm

Methods for Fitted Point Process Models on a Linear Network
plot.im

Plot a Pixel Image
Gres

Residual G Function
quadrat.test

Chi-Squared Dispersion Test for Spatial Point Pattern Based on Quadrat Counts
chop.tess

Subdivide a Window or Tessellation using a Set of Lines
predict.kppm

Prediction from a Fitted Cluster Point Process Model
Kscaled

Locally Scaled K-function
rpoint

Generate N Random Points
humberside

Humberside Data on Childhood Leukaemia and Lymphoma
ponderosa

Ponderosa Pine Tree Point Pattern
methods.lpp

Methods for Point Patterns on a Linear Network
clickppp

Interactively Add Points
ord.family

Ord Interaction Process Family
Ord

Generic Ord Interaction model
pairdist

Pairwise distances
as.ppp

Convert Data To Class ppp
mincontrast

Method of Minimum Contrast
bw.smoothppp

Cross Validated Bandwidth Selection for Spatial Smoothing
psstA

Pseudoscore Diagnostic For Fitted Model against Area-Interaction Alternative
demopat

Artificial Data Point Pattern
psstG

Pseudoscore Diagnostic For Fitted Model against Saturation Alternative
pcf.fv

Pair Correlation Function obtained from K Function
default.rmhcontrol

Set Default Control Parameters for Metropolis-Hastings Algorithm.
pcfinhom

Inhomogeneous Pair Correlation Function
perimeter

Perimeter Length of Window
distmap.owin

Distance Map of Window
as.hyperframe.ppx

Extract coordinates and marks of multidimensional point pattern
clickjoin

Interactively join vertices on a plot
predict.ppm

Prediction from a Fitted Point Process Model
chicago

Chicago Street Crime Data
pixellate

Convert Spatial Object to Pixel Image
plot.linim

Plot Pixel Image on Linear Network
ppm

Fit Point Process Model to Data
plot.bermantest

Plot Result of Berman Test
Lcross

Multitype L-function (cross-type)
rgbim

Create Colour-Valued Pixel Image
Strauss

The Strauss Point Process Model
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
default.expand

Compute Expansion Window for Simulation
box3

Three-Dimensional Box
StraussHard

The Strauss / Hard Core Point Process Model
eval.fv

Evaluate Expression Involving Functions
concatxy

Concatenate x,y Coordinate Vectors
intersect.tess

Intersection of Two Tessellations
append.psp

Combine Two Line Segment Patterns
as.data.frame.hyperframe

Coerce Hyperframe to Data Frame
plot.pp3

Plot a three-dimensional point pattern
density.ppp

Kernel Smoothed Intensity of Point Pattern
pixellate.psp

Convert Line Segment Pattern to Pixel Image
boxx

Multi-Dimensional Box
shift.psp

Apply Vector Translation To Line Segment Pattern
rStrauss

Perfect Simulation of the Strauss Process
pairsat.family

Saturated Pairwise Interaction Point Process Family
rotate.psp

Rotate a Line Segment Pattern
plot.ppm

plot a Fitted Point Process Model
print.ppm

Print a Fitted Point Process Model
predict.lppm

Predict Point Process Model on Linear Network
reduced.sample

Reduced Sample Estimator using Histogram Data
border

Border Region of a Window
pool

Pool Data
rGaussPoisson

Simulate Gauss-Poisson Process
ppm.object

Class of Fitted Point Process Models
rhohat

Smoothing Estimate of Covariate Transformation
pppmatching

Create a Point Matching
rLGCP

Simulate Log-Gaussian Cox Process
cut.im

Convert Pixel Image from Numeric to Factor
progressreport

Print Progress Reports
plot.layered

Layered Plot
imcov

Spatial Covariance of a Pixel Image
redwood

California Redwoods Point Pattern (Ripley's Subset)
anova.ppm

ANOVA for Fitted Point Process Models
print.quad

Print a Quadrature Scheme
istat

Point and Click Interface for Exploratory Analysis of Point Pattern
eem

Exponential Energy Marks
clip.infline

Intersect Infinite Straight Lines with a Window
rshift

Random Shift
lengths.psp

Lengths of Line Segments
bei

Tropical rain forest trees
ants

Harkness-Isham ants' nests data
envelope.lpp

Envelope for Point Patterns on Linear Network
sharpen

Data Sharpening of Point Pattern
Extract.splitppp

Extract or Replace Sub-Patterns
complement.owin

Take Complement of a Window
summary.quad

Summarizing a Quadrature Scheme
redwoodfull

California Redwoods Point Pattern (Entire Dataset)
closing

Morphological Closing
dirichlet

Dirichlet Tessellation of Point Pattern
Extract.tess

Extract or Replace Subset of Tessellation
rescale.owin

Convert Window to Another Unit of Length
ganglia

Beta Ganglion Cells in Cat Retina, Old Version
rescale.im

Convert Pixel Image to Another Unit of Length
logLik.ppm

Log Likelihood and AIC for Point Process Model
vertices

Vertices of a Window
ewcdf

Weighted Empirical Cumulative Distribution Function
relrisk

Nonparametric Estimate of Spatially-Varying Relative Risk
rlabel

Random Re-Labelling of Point Pattern
nnclean

Nearest Neighbour Clutter Removal
latest.news

Print News About Latest Version of Package
rmh.default

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

Quadrature Scheme Based on Pixel Grid
letterR

Window in Shape of Letter R
with.hyperframe

Evaluate an Expression in Each Row of a Hyperframe
quadrat.test.splitppp

Chi-Squared Test of CSR for Split Point Pattern
lansing

Lansing Woods Point Pattern
marks

Marks of a Point Pattern
rSSI

Simulate Simple Sequential Inhibition
matclust.estpcf

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

Generic Pairwise Interaction model
methods.rhohat

Methods for Intensity Functions of Spatial Covariate
model.depends

Identify Covariates Involved in each Model Term
rmhcontrol

Set Control Parameters for Metropolis-Hastings Algorithm.
flipxy

Exchange X and Y Coordinates
pcfdot

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

Beadlet Anemones Data
periodify

Make Periodic Copies of a Spatial Pattern
nncross

Nearest Neighbours Between Two Patterns
rmhmodel.default

Build Point Process Model for Metropolis-Hastings Simulation.
as.mask.psp

Convert Line Segment Pattern to Binary Pixel Mask
pointsOnLines

Place Points Evenly Along Specified Lines
gridcentres

Rectangular grid of points
pixellate.owin

Convert Window to Pixel Image
integral.im

Integral of a Pixel Image
plot.tess

Plot a tessellation
is.subset.owin

Determine Whether One Window is Contained In Another
predict.slrm

Predicted or Fitted Values from Spatial Logistic Regression
pppdist

Distance Between Two Point Patterns
interp.im

Interpolate a Pixel Image
pppmatching.object

Class of Point Matchings
density.psp

Kernel Smoothing of Line Segment Pattern
quadratresample

Resample a Point Pattern by Resampling Quadrats
raster.x

Cartesian Coordinates for a Pixel Raster
rMatClust

Simulate Matern Cluster Process
ppx

Multidimensional Space-Time Point Pattern
rMosaicField

Mosaic Random Field
rThomas

Simulate Thomas Process
rmhmodel.list

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

Print Brief Details of an Image
rotate.owin

Rotate a Window
print.psp

Print Brief Details of a Line Segment Pattern Dataset
rMaternI

Simulate Matern Model I
rescale.psp

Convert Line Segment Pattern to Another Unit of Length
as.hyperframe

Convert Data to Hyperframe
nearestsegment

Find Line Segment Nearest to Each Point
rmpoispp

Generate Multitype Poisson Point Pattern
is.multitype.ppp

Test Whether A Point Pattern is Multitype
plot.owin

Plot a Spatial Window
im.object

Class of Images
effectfun

Compute Fitted Effect of a Spatial Covariate in a Point Process Model
bdist.tiles

Distance to Boundary of Window
msr

Signed or Vector-Valued Measure
multiplicity.ppp

Count Multiplicity of Duplicate Points
rmh.ppm

Simulate from a Fitted Point Process Model
compatible.fv

Test Whether Two Function Objects Are Compatible
coef.ppm

Coefficients of Fitted Point Process Model
urkiola

Urkiola Woods Point Pattern
nnwhich.ppx

Nearest Neighbours in Any Dimensions
quad.object

Class of Quadrature Schemes
vcov.kppm

Variance-Covariance Matrix for a Fitted Cluster Point Process Model
spatstat-internal

Internal spatstat functions
Kcom

Model Compensator of K Function
Hest

Spherical Contact Distribution Function
Linhom

L-function
areaGain

Difference of Disc Areas
compatible.im

Test Whether Two Pixel Images Are Compatible
crossdist

Pairwise distances
erosion

Morphological Erosion
is.marked.ppm

Test Whether A Point Process Model is Marked
is.ppp

Test Whether An Object Is A Point Pattern
levelset

Level Set of a Pixel Image
pp3

Three Dimensional Point Pattern
BadGey

Hybrid Geyer Point Process Model
rescue.rectangle

Convert Window Back To Rectangle
Ldot

Multitype L-function (i-to-any)
as.rectangle

Window Frame
rjitter

Random Perturbation of a Point Pattern
data.ppm

Extract Original Data from a Fitted Point Process Model
pairdist.ppx

Pairwise Distances in Any Dimensions
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
idw

Inverse-distance weighted smoothing of observations at irregular points
localKinhom

Inhomogeneous Neighbourhood Density Function
linearK

Linear K Function
infline

Infinite Straight Lines
pcf

Pair Correlation Function
ppp.object

Class of Point Patterns
pool.fasp

Pool Data from Several Function Arrays
profilepl

Profile Maximum Pseudolikelihood
qqplot.ppm

Q-Q Plot of Residuals from Fitted Point Process Model
rotate.ppp

Rotate a Point Pattern
areaLoss

Difference of Disc Areas
scanpp

Read Point Pattern From Data File
thomas.estpcf

Fit the Thomas Point Process by Minimum Contrast
Jest

Estimate the J-function
adaptive.density

Intensity Estimate of Point Pattern Using Tessellation
affine.ppp

Apply Affine Transformation To Point Pattern
as.data.frame.psp

Coerce Line Segment Pattern to a Data Frame
copper

Berman-Huntington points and lines data
eval.fasp

Evaluate Expression Involving Function Arrays
inside.owin

Test Whether Points Are Inside A Window
is.owin

Test Whether An Object Is A Window
nndist

Nearest neighbour distances
opening

Morphological Opening
pcfdot.inhom

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

Perspective Plot of Pixel Image
plot.plotppm

Plot a plotppm Object Created by plot.ppm
nsegments

Number of Line Segments in a Line Segment Pattern
matclust.estK

Fit the Matern Cluster Point Process by Minimum Contrast
MultiStrauss

The Multitype Strauss Point Process Model
owin.object

Class owin
plot.hyperframe

Plot Entries in a Hyperframe
dummify

Convert Data to Numeric Values by Constructing Dummy Variables
blur

Apply Gaussian Blur to a Pixel Image
shift.owin

Apply Vector Translation To Window
simdat

Simulated Point Pattern
slrm

Spatial Logistic Regression
summary.im

Summarizing a Pixel Image
Fiksel

The Fiksel Interaction
Ldot.inhom

Inhomogeneous Multitype L Dot Function
MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
area.owin

Area of a Window
as.function.fv

Convert Function Value Table to Function
as.polygonal

Convert a Window to a Polygonal Window
as.tess

Convert Data To Tessellation
contour.im

Contour plot of pixel image
convexhull.xy

Convex Hull of Points
colourtools

Convert and Compare Colours in Different Formats
duplicated.ppp

Determine Duplicated Points in a Spatial Point Pattern
gridweights

Compute Quadrature Weights Based on Grid Counts
harmonic

Basis for Harmonic Functions
linearpcf

Linear Pair Correlation Function
lgcp.estpcf

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

Create Point Pattern on Linear Network
marks.psp

Marks of a Line Segment Pattern
markcorr

Mark Correlation Function
model.frame.ppm

Extract the Environment of a Point Process Model
nnwhich.pp3

Nearest neighbours in three dimensions
plot.colourmap

Plot a Colour Map
plot.envelope

Plot a Simulation Envelope
plot.msr

Plot a Signed or Vector-Valued Measure
plot.quad

plot a Spatial Quadrature Scheme
rotate

Rotate
bw.stoyan

Stoyan's Rule of Thumb for Bandwidth Selection
gpc2owin

Convert Polygonal Region into Different Format
bounding.box.xy

Convex Hull of Points
distfun

Distance Map as a Function