Learn R Programming

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

spatstat (version 1.21-4)

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-4

License

GPL (>= 2)

Maintainer

Adrian Baddeley

Last Published

January 20th, 2011

Functions in spatstat (1.21-4)

coef.slrm

Coefficients of Fitted Spatial Logistic Regression Model
cbind.hyperframe

Combine Hyperframes by Rows or by Columns
bounding.box.xy

Convex Hull of Points
MultiHard

The Multitype Hard Core Point Process Model
bdist.pixels

Distance to Boundary of Window
bounding.box

Bounding Box of a Window or Point Pattern
as.hyperframe

Convert Data to Hyperframe
compatible.fv

Test Whether Two Function Objects Are Compatible
copper

Berman-Huntington points and lines data
crossdist.default

Pairwise distances between two different sets of points
crossdist

Pairwise distances
StraussHard

The Strauss / Hard Core Point Process Model
Strauss

The Strauss Point Process Model
disc

Circular Window
duplicated.ppp

Determine Duplicated Points in a Spatial Point Pattern
is.marked.ppm

Test Whether A Point Process Model is Marked
adaptive.density

Intensity Estimate of Point Pattern Using Tessellation
as.data.frame.psp

Coerce Line Segment Pattern to a Data Frame
distfun

Distance Map as a Function
as.psp

Convert Data To Class psp
as.rectangle

Window Frame
areaLoss

Difference of Disc Areas
humberside

Humberside Data on Childhood Leukaemia and Lymphoma
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
fv

Create a Function Value Table
clickppp

Interactively Add Points
Ldot

Multitype L-function (i-to-any)
clarkevans.test

Clark and Evans Test
localpcf

Local pair correlation function
Lest

L-function
Ldot.inhom

Inhomogeneous Multitype L Dot Function
as.hyperframe.ppx

Extract coordinates and marks of multidimensional point pattern
convexhull.xy

Convex Hull of Points
crossing.psp

Crossing Points of Two Line Segment Patterns
bdist.points

Distance to Boundary of Window
as.data.frame.ppp

Coerce Point Pattern to a Data Frame
inforder.family

Infinite Order Interaction Family
corners

Corners of a rectangle
delaunay

Delaunay Triangulation of Point Pattern
areaGain

Difference of Disc Areas
print.quad

Print a Quadrature Scheme
fitted.slrm

Fitted Probabilities for Spatial Logistic Regression
model.images

Compute Images of Constructed Covariates
crossdist.psp

Pairwise distances between two different line segment patterns
infline

Infinite Straight Lines
is.multitype

Test whether Object is Multitype
logLik.ppm

Log Likelihood for Poisson Point Process Model
is.subset.owin

Determine Whether One Window is Contained In Another
perimeter

Perimeter Length of Window
is.empty

Test Whether An Object Is Empty
crossdist.pp3

Pairwise distances between two different three-dimensional point patterns
plot.plotppm

Plot a plotppm Object Created by plot.ppm
dirichlet

Dirichlet Tessellation of Point Pattern
plot.kstest

Plot a Spatial Kolmogorov-Smirnov Test
by.ppp

Apply a Function to a Point Pattern Broken Down by Factor
contour.im

Contour plot of pixel image
as.data.frame.hyperframe

Coerce Hyperframe to Data Frame
affine.psp

Apply Affine Transformation To Line Segment Pattern
dilation

Morphological Dilation
Saturated

Saturated Pairwise Interaction model
Ord

Generic Ord Interaction model
nndist.pp3

Nearest neighbour distances in three dimensions
midpoints.psp

Midpoints of Line Segment Pattern
im.object

Class of Images
plot.pp3

Plot a three-dimensional point pattern
model.frame.ppm

Extract the Environment of a Point Process Model
as.tess

Convert Data To Tessellation
applynbd

Apply Function to Every Neighbourhood in a Point Pattern
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
inside.owin

Test Whether Points Are Inside A Window
blur

Apply Gaussian Blur to a Pixel Image
SatPiece

Piecewise Constant Saturated Pairwise Interaction Point Process Model
MultiStrauss

The Multitype Strauss Point Process Model
distmap

Distance Map
plot.quad

plot a Spatial Quadrature Scheme
pcfdot.inhom

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

Plot a Pixel Image
miplot

Morishita Index Plot
concatxy

Concatenate x,y Coordinate Vectors
persp.im

Perspective Plot of Pixel Image
rotate.owin

Rotate a Window
chop.tess

Subdivide a Window or Tessellation using a Set of Lines
coef.ppm

Coefficients of Fitted Point Process Model
pairs.im

Scatterplot Matrix for Pixel Images
eval.fv

Evaluate Expression Involving Functions
clarkevans

Clark and Evans Aggregation Index
angles.psp

Orientation Angles of Line Segments
as.im

Convert to Pixel Image
incircle

Find Largest Circle Inside Window
plot.fasp

Plot a Function Array
crossdist.ppp

Pairwise distances between two different point patterns
marktable

Tabulate Marks in Neighbourhood of Every Point in a Point Pattern
eval.fasp

Evaluate Expression Involving Function Arrays
collapse.fv

Collapse Several Function Tables into One
cells

Biological Cells Point Pattern
boxx

Multi-Dimensional Box
colourmap

Colour Lookup Tables
cut.ppp

Classify Points in a Point Pattern
hamster

Aherne's hamster tumour data
data.ppm

Extract Original Data from a Fitted Point Process Model
lgcp.estK

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
diagnose.ppm

Diagnostic Plots for Fitted Point Process Model
gridweights

Compute Quadrature Weights Based on Grid Counts
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
rlinegrid

Generate grid of parallel lines with random displacement
nztrees

New Zealand Trees Point Pattern
eval.im

Evaluate Expression Involving Pixel Images
connected

Connected components of an image or window
append.psp

Combine Two Line Segment Patterns
levelset

Level Set of a Pixel Image
is.marked

Test Whether Marks Are Present
rmhmodel

Define Point Process Model for Metropolis-Hastings Simulation.
rotate.ppp

Rotate a Point Pattern
chorley

Chorley-Ribble Cancer Data
eroded.areas

Areas of Morphological Erosions
model.matrix.ppm

Extract Design Matrix from Point Process Model
by.im

Apply Function to Image Broken Down by Factor
plot.bermantest

Plot Result of Berman Test
markstat

Summarise Marks in Every Neighbourhood in a Point Pattern
convexhull

Convex Hull
bei

Tropical rain forest trees
mincontrast

Method of Minimum Contrast
bermantest

Berman's Tests for Point Process Model
relrisk

Nonparametric Estimate of Spatially-Varying Relative Risk
rescale.psp

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

Nearest neighbours in three dimensions
box3

Three-Dimensional Box
rescale.owin

Convert Window to Another Unit of Length
matchingdist

Distance for a Point Pattern Matching
eem

Exponential Energy Marks
diameter

Diameter of an Object
is.im

Test Whether An Object Is A Pixel Image
latest.news

Print News About Latest Version of Package
ord.family

Ord Interaction Process Family
localK

Neighbourhood density function
bw.stoyan

Stoyan's Rule of Thumb for Bandwidth Selection
Poisson

Poisson Point Process Model
quad.ppm

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

Class owin
LennardJones

The Lennard-Jones Potential
pcf.fv

Pair Correlation Function obtained from K Function
istat

Point and Click Interface for Exploratory Analysis of Point Pattern
fitin.ppm

Extract the Interaction from a Fitted Point Process Model
endpoints.psp

Endpoints of Line Segment Pattern
fasp.object

Function Arrays for Spatial Patterns
lut

Lookup Tables
Replace.im

Reset Values in Subset of Image
msr

Signed or Vector-Valued Measure
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
simulate.kppm

Simulate a Fitted Cluster Point Process Model
plot.ppm

plot a Fitted Point Process Model
is.owin

Test Whether An Object Is A Window
compatible.fasp

Test Whether Two Function Arrays Are Compatible
nncross

Nearest Neighbours Between Two Patterns
affine.ppp

Apply Affine Transformation To Point Pattern
ripras

Estimate window from points alone
ewcdf

Weighted Empirical Cumulative Distribution Function
gpc2owin

Convert Polygonal Region into Different Format
pcfinhom

Inhomogeneous Pair Correlation Function
default.expand

Compute Expansion Window for Simulation
rshift.ppp

Randomly Shift a Point Pattern
pixellate

Convert Spatial Object to Pixel Image
betacells

Beta Ganglion Cells in Cat Retina
distmap.ppp

Distance Map of Point Pattern
distmap.psp

Distance Map of Line Segment Pattern
OrdThresh

Ord's Interaction model
centroid.owin

Centroid of a window
iplot

Point and Click Interface for Displaying a Point Pattern
rmh

Simulate point patterns using the Metropolis-Hastings algorithm.
affine

Apply Affine Transformation
km.rs

Kaplan-Meier and Reduced Sample Estimator using Histograms
plot.colourmap

Plot a Colour Map
japanesepines

Japanese Pines Point Pattern
density.psp

Kernel Smoothing of Line Segment Pattern
allstats

Calculate four standard summary functions of a point pattern.
plot.ppp

plot a Spatial Point Pattern
runifdisc

Generate N Uniform Random Points in a Disc
pointsOnLines

Place Points Evenly Along Specified Lines
reduced.sample

Reduced Sample Estimator using Histogram Data
pcf.fasp

Pair Correlation Function obtained from array of K functions
bind.fv

Combine Function Value Tables
erosion

Morphological Erosion
rThomas

Simulate Thomas Process
diameter.boxx

Geometrical Calculations for Multi-Dimensional Box
pairdist.ppx

Pairwise Distances in Any Dimensions
diameter.box3

Geometrical Calculations for Three-Dimensional Box
fv.object

Data Frames of Function Values
profilepl

Profile Maximum Pseudolikelihood
coords

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

Convert dataset to another unit of length
clip.infline

Intersect Infinite Straight Lines with a Window
expand.owin

Expand Window By Factor
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
rescale.ppp

Convert Point Pattern to Another Unit of Length
ganglia

Beta Ganglion Cells in Cat Retina, Old Version
nnwhich

Nearest neighbour
shift.im

Apply Vector Translation To Pixel Image
Linhom

L-function
affine.owin

Apply Affine Transformation To Window
fitted.ppm

Fitted Conditional Intensity for Point Process Model
as.polygonal

Convert a Window to a Polygonal Window
diameter.owin

Diameter of a Window
pairdist.default

Pairwise distances
anova.ppm

ANOVA for Fitted Point Process Models
as.data.frame.im

Convert Pixel Image to Data Frame
npoints

Number of Points in a Point Pattern
heather

Diggle's Heather Data
pppdist

Distance Between Two Point Patterns
density.ppp

Kernel Smoothed Intensity of Point Pattern
border

Border Region of a Window
as.ppp

Convert Data To Class ppp
pcfcross

Multitype pair correlation function (cross-type)
discpartarea

Area of Part of Disc
markcorrint

Mark Correlation Integral
rMosaicField

Mosaic Random Field
summary.owin

Summary of a Spatial Window
as.matrix.im

Convert Pixel Image to Matrix or Array
marks

Marks of a Point Pattern
pcfdot

Multitype pair correlation function (i-to-any)
interp.im

Interpolate a Pixel Image
tess

Create a Tessellation
ants

Harkness-Isham ants' nests data
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
raster.x

Cartesian Coordinates for a Pixel Raster
is.convex

Test Whether a Window is Convex
lurking

Lurking variable plot
bramblecanes

Hutchings' Bramble Canes data
nndist

Nearest neighbour distances
pairdist.ppp

Pairwise distances
rpoislinetess

Poisson Line Tessellation
markconnect

Mark Connection Function
summary.ppm

Summarizing a Fitted Point Process Model
selfcrossing.psp

Crossing Points in a Line Segment Pattern
hist.im

Histogram of Pixel Values in an Image
vcov.ppm

Variance-Covariance Matrix for a Fitted Point Process Model
setcov

Set Covariance of a Window
quadrat.test.splitppp

Chi-Squared Test of CSR for Split Point Pattern
psp

Create a Line Segment Pattern
markvario

Mark Variogram
spatstat-internal

Internal spatstat functions
rshift

Random Shift
plot.hyperframe

Plot Entries in a Hyperframe
Softcore

The Soft Core Point Process Model
kppm

Fit cluster point process model
rmhcontrol

Set Control Parameters for Metropolis-Hastings Algorithm.
quad.object

Class of Quadrature Schemes
runifpoint3

Generate N Uniform Random Points in Three Dimensions
print.psp

Print Brief Details of a Line Segment Pattern Dataset
rmpoispp

Generate Multitype Poisson Point Pattern
methods.distfun

Methods for Distance Functions
runifpointx

Generate N Uniform Random Points in Any Dimensions
pairdist.pp3

Pairwise distances in Three Dimensions
closing

Morphological Closing
identify.ppp

Identify Points in a Point Pattern
is.multitype.ppp

Test Whether A Point Pattern is Multitype
area.owin

Area of a Window
bdist.tiles

Distance to Boundary of Window
crossdist.ppx

Pairwise Distances Between Two Different Multi-Dimensional Point Patterns
effectfun

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

Three Dimensional Point Pattern
pairdist.psp

Pairwise distances between line segments
pixellate.ppp

Convert Point Pattern to Pixel Image
spatstat-deprecated

Deprecated spatstat functions
is.marked.ppp

Test Whether A Point Pattern is Marked
print.im

Print Brief Details of an Image
colourtools

Convert and Compare Colours in Different Formats
smooth.msr

Smooth a Signed or Vector-Valued Measure
print.owin

Print Brief Details of a Spatial Window
rNeymanScott

Simulate Neyman-Scott Process
as.box3

Convert Data to Three-Dimensional Box
anova.slrm

Analysis of Deviance for Spatial Logistic Regression Models
rstrat

Simulate Stratified Random Point Pattern
kstest.ppm

Kolmogorov-Smirnov Test for Point Process Model
is.ppm

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

Plot a Spatial Window
trim.rectangle

Cut margins from rectangle
summary.im

Summarizing a Pixel Image
plot.kppm

Plot a fitted cluster point process
ppp.object

Class of Point Patterns
nbfires

Point Patterns of New Brunswick Forest Fires
pairsat.family

Saturated Pairwise Interaction Point Process Family
nnclean

Nearest Neighbour Clutter Removal
as.owin

Convert Data To Class owin
rhohat

Smoothing Estimate of Covariate Transformation
predict.ppm

Prediction from a Fitted Point Process Model
rcell

Simulate Baddeley-Silverman Cell Process
plot.tess

Plot a tessellation
nearest.raster.point

Find Pixel Nearest to a Given Point
multiplicity.ppp

Count Multiplicity of Duplicate Points
plot.psp

plot a Spatial Line Segment Pattern
summary.quad

Summarizing a Quadrature Scheme
pppmatching.object

Class of Point Matchings
rmpoint

Generate N Random Multitype Points
print.ppm

Print a Fitted Point Process Model
qqplot.ppm

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

California Redwoods Point Pattern (Entire Dataset)
nndist.ppx

Nearest Neighbour Distances in Any Dimensions
residualspaper

Data and Code From JRSS Discussion Paper on Residuals
integral.im

Integral of a Pixel Image
pairwise.family

Pairwise Interaction Process Family
tiles

Extract List of Tiles in a Tessellation
ponderosa

Ponderosa Pine Tree Point Pattern
rpoisline

Generate Poisson Random Line Process
rMatClust

Simulate Matern Cluster Process
clickpoly

Interactively Define a Polygon
lansing

Lansing Woods Point Pattern
matclust.estK

Fit the Matern Cluster Point Process by Minimum Contrast
is.multitype.ppm

Test Whether A Point Process Model is Multitype
update.kppm

Update a Fitted Cluster Point Process Model
nndist.psp

Nearest neighbour distances between line segments
letterR

Window in Shape of Letter R
opening

Morphological Opening
lengths.psp

Lengths of Line Segments
rGaussPoisson

Simulate Gauss-Poisson Process
dirichlet.weights

Compute Quadrature Weights Based on Dirichlet Tessellation
rMosaicSet

Mosaic Random Set
methods.boxx

Methods for Multi-Dimensional Box
print.ppp

Print Brief Details of a Point Pattern Dataset
pixellate.owin

Convert Window to Pixel Image
compatible.im

Test Whether Two Pixel Images Are Compatible
runifpoint

Generate N Uniform Random Points
rmh.default

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

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

Fit Point Process Model to Data
summary.listof

Summary of a List of Things
logLik.slrm

Loglikelihood of Spatial Logistic Regression
shift.ppp

Apply Vector Translation To Point Pattern
ppm.object

Class of Fitted Point Process Models
markcorr

Mark Correlation Function
rMaternI

Simulate Matern Model I
periodify

Make Periodic Copies of a Spatial Pattern
owin

Create a Window
mean.im

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

Square Window
volume

Volume of an Object
im

Create a Pixel Image Object
rmhstart

Determine Initial State for Metropolis-Hastings Simulation.
runifpointOnLines

Generate N Uniform Random Points On Line Segments
quantile.im

Sample Quantiles of Pixel Image
rotate.psp

Rotate a Line Segment Pattern
sharpen

Data Sharpening of Point Pattern
pairdist

Pairwise distances
shift

Apply Vector Translation
rshift.splitppp

Randomly Shift a List of Point Patterns
rknn

Theoretical Distribution of Nearest Neighbour Distance
redwood

California Redwoods Point Pattern (Ripley's Subset)
rpoisppOnLines

Generate Poisson Point Pattern on Line Segments
murchison

Murchison gold deposits
suffstat

Sufficient Statistic of Point Process Model
deltametric

Delta Metric
smooth.fv

Apply Smoothing to Function Values
pppmatching

Create a Point Matching
fryplot

Fry Plot of Point Pattern
hyperframe

Hyper Data Frame
Pairwise

Generic Pairwise Interaction model
pcf

Pair Correlation Function
dilated.areas

Areas of Morphological Dilations
unitname

Name for Unit of Length
with.hyperframe

Evaluate an Expression in Each Row of a Hyperframe
default.rmhcontrol

Set Default Control Parameters for Metropolis-Hastings Algorithm.
solutionset

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

Generate Poisson Point Pattern in Any Dimensions
unmark

Remove Marks
pcf3est

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

Convert Line Segment Pattern to Pixel Image
pixelquad

Quadrature Scheme Based on Pixel Grid
rpoispp3

Generate Poisson Point Pattern in Three Dimensions
summary.psp

Summary of a Line Segment Pattern Dataset
tile.areas

Compute Areas of Tiles in a Tessellation
superimpose

Superimpose Several Point Patterns
rlabel

Random Re-Labelling of Point Pattern
osteo

Osteocyte Lacunae Data: Replicated Three-Dimensional Point Patterns
quadratresample

Resample a Point Pattern by Resampling Quadrats
stieltjes

Compute Integral of Function Against Cumulative Distribution
quadratcount

Quadrat counting for a point pattern
whist

Weighted Histogram
psp.object

Class of Line Segment Patterns
shapley

Galaxies in the Shapley Supercluster
slrm

Spatial Logistic Regression
rStrauss

Perfect Simulation of the Strauss Process
ppp

Create a Point Pattern
quadrats

Divide Region into Quadrats
varblock

Estimate Variance of Summary Statistic by Subdivision
is.ppp

Test Whether An Object Is A Point Pattern
vertices

Vertices of a Window
simplify.owin

Approximate a Polygon by a Simpler Polygon
dummy.ppm

Extract Dummy Points Used to Fit a Point Process Model
intersect.owin

Intersection, Union or Set Subtraction of Two Windows
plot.splitppp

Plot a List of Point Patterns
rotate

Rotate
predict.slrm

Predicted or Fitted Values from Spatial Logistic Regression
methods.box3

Methods for Three-Dimensional Box
rmhmodel.list

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

Plot a Fitted Spatial Logistic Regression
finpines

Pine saplings in Finland.
unique.ppp

Extract Unique Points from a Spatial Point Pattern
swedishpines

Swedish Pines Point Pattern
smooth.ppp

Spatial smoothing of observations at irregular points
quadscheme

Generate a Quadrature Scheme from a Point Pattern
rSSI

Simulate Simple Sequential Inhibition
matclust.estpcf

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

Multidimensional Space-Time Point Pattern
rmhmodel.ppm

Interpret Fitted Model for Metropolis-Hastings Simulation.
urkiola

Urkiola Woods Point Pattern
plot.msr

Plot a Signed or Vector-Valued Measure
longleaf

Longleaf Pines Point Pattern
rMaternII

Simulate Matern Model II
shift.owin

Apply Vector Translation To Window
bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation
rmh.ppm

Simulate from a Fitted Point Process Model
rmhmodel.default

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

Convert Pixel Image to Another Unit of Length
simulate.ppm

Simulate a Fitted Gibbs Point Process Model
quadrat.test

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

Spokes pattern of dummy points
which.max.im

Identify Pixelwise Maximum of Several Pixel Images
rjitter

Random Perturbation of a Point Pattern
split.ppp

Divide Point Pattern into Sub-patterns
spruces

Spruces Point Pattern
predict.kppm

Prediction from a Fitted Cluster Point Process Model
rescue.rectangle

Convert Window Back To Rectangle
spatstat-package

The Spatstat Package
plot.fv

Plot Function Values
thomas.estK

Fit the Thomas Point Process by Minimum Contrast
summary.ppp

Summary of a Point Pattern Dataset
lgcp.estpcf

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
thomas.estpcf

Fit the Thomas Point Process by Minimum Contrast
rpoispp

Generate Poisson Point Pattern
union.quad

Union of Data and Dummy Points
shift.psp

Apply Vector Translation To Line Segment Pattern
rsyst

Simulate systematic random point pattern
summary.splitppp

Summary of a Split Point Pattern
superimposePSP

Superimpose Several Line Segment Patterns
as.mask

Pixel Image Approximation of a Window
amacrine

Hughes' Amacrine Cell Data
MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
as.mask.psp

Convert Line Segment Pattern to Binary Pixel Mask
bronzefilter

Bronze gradient filter data
anemones

Beadlet Anemones Data
cut.im

Convert Pixel Image from Numeric to Factor
demopat

Artificial Data Point Pattern
identify.psp

Identify Segments in a Line Segment Pattern
complement.owin

Take Complement of a Window
intersect.tess

Intersection of Two Tessellations
discretise

Safely Convert Point Pattern Window to Binary Mask
default.dummy

Generate a Default Pattern of Dummy Points
spatstat.options

Internal Options in Spatstat Package
envelope

Simulation Envelopes of Summary Function
distmap.owin

Distance Map of Window
Extract.fv

Extract Subset of Function Values
harmonic

Basis for Harmonic Functions
nearestsegment

Find Line Segment Nearest to Each Point
methods.pp3

Methods for three-dimensional point patterns
Kmulti

Marked K-Function
pcf.ppp

Pair Correlation Function of Point Pattern
progressreport

Print Progress Reports
plot.listof

Plot a List of Things
gridcentres

Rectangular grid of points
Kcross.inhom

Inhomogeneous Cross K Function
methods.ppx

Methods for Multidimensional Space-Time Point Patterns
residuals.ppm

Residuals for Fitted Point Process Model
project2segment

Move Point To Nearest Line
reach

Interaction Distance of a Point Process
plot.envelope

Plot a Simulation Envelope
simdat

Simulated Point Pattern
G3est

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

Generate N Random Points
Gfox

Foxall's Distance Functions
rshift.psp

Randomly Shift a Line Segment Pattern
scanpp

Read Point Pattern From Data File
Jmulti

Marked J Function
split.im

Divide Image Into Sub-images
with.fv

Evaluate an Expression in a Function Table
Extract.listof

Extract or Replace Subset of a List of Things
DiggleGatesStibbard

Diggle-Gates-Stibbard Point Process Model
update.ppm

Update a Fitted Point Process Model
Extract.quad

Subset of Quadrature Scheme
nnwhich.ppx

Nearest Neighbours in Any Dimensions
rthin

Random Thinning
Gcross

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

Diagnostics for random marking
Extract.fasp

Extract Subset of Function Array
AreaInter

The Area Interaction Point Process Model
Kcross

Multitype K Function (Cross-type)
BadGey

Hybrid Geyer Point Process Model
Gmulti

Marked Nearest Neighbour Distance Function
Extract.tess

Extract or Replace Subset of Tessellation
K3est

K-function of a Three-Dimensional Point Pattern
Fest

Estimate the empty space function F
Extract.ppp

Extract or Replace Subset of Point Pattern
DiggleGratton

Diggle-Gratton model
Extract.msr

Extract Subset of Signed or Vector Measure
Fiksel

The Fiksel Interaction
Lcross

Multitype L-function (cross-type)
Extract.splitppp

Extract or Replace Sub-Patterns
Kest.fft

K-function using FFT
Extract.psp

Extract Subset of Line Segment Pattern
Lcross.inhom

Inhomogeneous Cross Type L Function
Geyer

Geyer's Saturation Point Process Model
Hardcore

The Hard Core Point Process Model
Kscaled

Locally Scaled K-function
Jcross

Multitype J Function (i-to-j)
Jest

Estimate the J-function
Gest

Nearest Neighbour Distance Function G
Kest

K-function
Kmeasure

Reduced Second Moment Measure
Extract.im

Extract Subset of Image
Kdot.inhom

Inhomogeneous Multitype K Dot Function
Iest

Estimate the I-function
Kdot

Multitype K Function (i-to-any)
Hest

Spherical Contact Distribution Function
Jdot

Multitype J Function (i-to-any)
Kinhom

Inhomogeneous K-function
F3est

Empty Space Function of a Three-Dimensional Point Pattern
Gdot

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