Learn R Programming

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

spatstat (version 1.23-2)

Spatial Point Pattern analysis, model-fitting, simulation, tests

Description

A package for analysing spatial data, mainly Spatial Point Patterns, including multitype/marked points and spatial covariates, in any two-dimensional spatial region. Also supports three-dimensional point patterns, and space-time point patterns in any number of dimensions. Contains over 1000 functions for plotting spatial data, exploratory data analysis, model-fitting, simulation, spatial sampling, model diagnostics, and formal inference. Data types include point patterns, line segment patterns, spatial windows, pixel images and tessellations. Exploratory methods include K-functions, nearest neighbour distance and empty space statistics, Fry plots, pair correlation function, kernel smoothed intensity, relative risk estimation with cross-validated bandwidth selection, mark correlation functions, segregation indices, mark dependence diagnostics etc. Point process models can be fitted to point pattern data using functions ppm, kppm, slrm similar to glm. Models may include dependence on covariates, interpoint interaction, cluster formation and dependence on marks. Fitted models can be simulated automatically. Also provides facilities for formal inference (such as chi-squared tests) and model diagnostics (including simulation envelopes, residuals, residual plots and Q-Q plots).

Copy Link

Version

Install

install.packages('spatstat')

Monthly Downloads

18,534

Version

1.23-2

License

GPL (>= 2)

Maintainer

Adrian Baddeley

Last Published

August 11th, 2011

Functions in spatstat (1.23-2)

Hest

Spherical Contact Distribution Function
Extract.splitppp

Extract or Replace Sub-Patterns
Kest.fft

K-function using FFT
Kcom

Model Compensator of K Function
Kmeasure

Reduced Second Moment Measure
Extract.ppp

Extract or Replace Subset of Point Pattern
G3est

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

Residual G Function
Extract.fv

Extract Subset of Function Values
Gcom

Model Compensator of Nearest Neighbour Function
Jmulti

Marked J Function
MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
betacells

Beta Ganglion Cells in Cat Retina
allstats

Calculate four standard summary functions of a point pattern.
cbind.hyperframe

Combine Hyperframes by Rows or by Columns
Kres

Residual K Function
DiggleGatesStibbard

Diggle-Gates-Stibbard Point Process Model
Gest

Nearest Neighbour Distance Function G
bdist.pixels

Distance to Boundary of Window
bermantest

Berman's Tests for Point Process Model
MultiHard

The Multitype Hard Core Point Process Model
Extract.psp

Extract Subset of Line Segment Pattern
crossdist

Pairwise distances
as.data.frame.hyperframe

Coerce Hyperframe to Data Frame
coords

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

Convert Line Segment Pattern to Binary Pixel Mask
as.mask

Pixel Image Approximation of a Window
Extract.fasp

Extract Subset of Function Array
as.hyperframe

Convert Data to Hyperframe
colourmap

Colour Lookup Tables
as.polygonal

Convert a Window to a Polygonal Window
Extract.msr

Extract Subset of Signed or Vector Measure
box3

Three-Dimensional Box
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
density.psp

Kernel Smoothing of Line Segment Pattern
crossdist.ppx

Pairwise Distances Between Two Different Multi-Dimensional Point Patterns
bei

Tropical rain forest trees
circumradius

Circumradius and Diameter of a Linear Network
Emark

Diagnostics for random marking
Gcross

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

The Fiksel Interaction
Fest

Estimate the empty space function F
Jest

Estimate the J-function
cut.im

Convert Pixel Image from Numeric to Factor
Pairwise

Generic Pairwise Interaction model
Extract.im

Extract Subset of Image
Kmulti

Marked K-Function
ganglia

Beta Ganglion Cells in Cat Retina, Old Version
Softcore

The Soft Core Point Process Model
DiggleGratton

Diggle-Gratton model
Ord

Generic Ord Interaction model
finpines

Pine saplings in Finland.
crossing.psp

Crossing Points of Two Line Segment Patterns
copper

Berman-Huntington points and lines data
Kscaled

Locally Scaled K-function
OrdThresh

Ord's Interaction model
crossdist.default

Pairwise distances between two different sets of points
SatPiece

Piecewise Constant Saturated Pairwise Interaction Point Process Model
data.ppm

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

Analysis of Deviance for Spatial Logistic Regression Models
Linhom

L-function
amacrine

Hughes' Amacrine Cell Data
Ldot.inhom

Inhomogeneous Multitype L Dot Function
closing

Morphological Closing
Kdot

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

ANOVA for Fitted Point Process Models
complement.owin

Take Complement of a Window
chop.tess

Subdivide a Window or Tessellation using a Set of Lines
Replace.im

Reset Values in Subset of Image
as.data.frame.im

Convert Pixel Image to Data Frame
as.ppp

Convert Data To Class ppp
default.expand

Compute Expansion Window for Simulation
as.data.frame.ppp

Coerce Point Pattern to a Data Frame
is.marked

Test Whether Marks Are Present
concatxy

Concatenate x,y Coordinate Vectors
spatstat-deprecated

Deprecated spatstat functions
discretise

Safely Convert Point Pattern Window to Binary Mask
demopat

Artificial Data Point Pattern
gpc2owin

Convert Polygonal Region into Different Format
compatible.fasp

Test Whether Two Function Arrays Are Compatible
duplicated.ppp

Determine Duplicated Points in a Spatial Point Pattern
markvario

Mark Variogram
as.owin

Convert Data To Class owin
dirichlet.weights

Compute Quadrature Weights Based on Dirichlet Tessellation
convexhull

Convex Hull
fryplot

Fry Plot of Point Pattern
endpoints.psp

Endpoints of Line Segment Pattern
pairdist.default

Pairwise distances
japanesepines

Japanese Pines Point Pattern
linearpcf

Linear Pair Correlation Function
alltypes

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

Simulation Envelopes of Summary Function
anova.lppm

ANOVA for Fitted Point Process Models on Linear Network
ppp

Create a Point Pattern
bronzefilter

Bronze gradient filter data
chicago

Chicago Street Crime Data
clickpoly

Interactively Define a Polygon
clarkevans.test

Clark and Evans Test
matclust.estpcf

Fit the Matern Cluster Point Process by Minimum Contrast Using Pair Correlation
centroid.owin

Centroid of a window
as.tess

Convert Data To Tessellation
ants

Harkness-Isham ants' nests data
contour.im

Contour plot of pixel image
eval.fv

Evaluate Expression Involving Functions
as.box3

Convert Data to Three-Dimensional Box
blur

Apply Gaussian Blur to a Pixel Image
interp.im

Interpolate a Pixel Image
quadrats

Divide Region into Quadrats
diameter

Diameter of an Object
formula.ppm

Model Formulae for Gibbs Point Process Models
as.rectangle

Window Frame
is.stationary

Recognise Stationary and Poisson Point Process Models
bw.stoyan

Stoyan's Rule of Thumb for Bandwidth Selection
envelope.lpp

Envelope for Point Patterns on Linear Network
identify.psp

Identify Segments in a Line Segment Pattern
is.convex

Test Whether a Window is Convex
as.matrix.im

Convert Pixel Image to Matrix or Array
bdist.tiles

Distance to Boundary of Window
bramblecanes

Hutchings' Bramble Canes data
eval.im

Evaluate Expression Involving Pixel Images
is.owin

Test Whether An Object Is A Window
intersect.owin

Intersection, Union or Set Subtraction of Two Windows
Kmodel

K function of a model
Kinhom

Inhomogeneous K-function
clip.infline

Intersect Infinite Straight Lines with a Window
corners

Corners of a rectangle
hyperframe

Hyper Data Frame
F3est

Empty Space Function of a Three-Dimensional Point Pattern
im

Create a Pixel Image Object
persp.im

Perspective Plot of Pixel Image
lgcp.estK

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
inside.owin

Test Whether Points Are Inside A Window
plot.slrm

Plot a Fitted Spatial Logistic Regression
Kcross.inhom

Inhomogeneous Cross K Function
fitted.ppm

Fitted Conditional Intensity for Point Process Model
Lcross.inhom

Inhomogeneous Cross Type L Function
cells

Biological Cells Point Pattern
Lcross

Multitype L-function (cross-type)
affine

Apply Affine Transformation
bounding.box

Bounding Box of a Window or Point Pattern
Gdot

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

Create Point Pattern on Linear Network
Jdot

Multitype J Function (i-to-any)
letterR

Window in Shape of Letter R
coef.slrm

Coefficients of Fitted Spatial Logistic Regression Model
fitted.slrm

Fitted Probabilities for Spatial Logistic Regression
as.interact

Extract Interaction Structure
markcorrint

Mark Correlation Integral
intersect.tess

Intersection of Two Tessellations
npfun

Dummy Function Returns Number of Points
affine.ppp

Apply Affine Transformation To Point Pattern
kppm

Fit Cluster or Cox Point Process Model
localKinhom

Inhomogeneous Neighbourhood Density Function
nndist.psp

Nearest neighbour distances between line segments
quad.object

Class of Quadrature Schemes
nncross

Nearest Neighbours Between Two Patterns
diameter.box3

Geometrical Calculations for Three-Dimensional Box
rpoispp

Generate Poisson Point Pattern
crossdist.pp3

Pairwise distances between two different three-dimensional point patterns
pairdist

Pairwise distances
affine.owin

Apply Affine Transformation To Window
diameter.boxx

Geometrical Calculations for Multi-Dimensional Box
nsegments

Number of Line Segments in a Line Segment Pattern
dirichlet

Dirichlet Tessellation of Point Pattern
opening

Morphological Opening
connected

Connected components of an image or window
distmap.ppp

Distance Map of Point Pattern
K3est

K-function of a Three-Dimensional Point Pattern
marks.psp

Marks of a Line Segment Pattern
Kest

K-function
distfun

Distance Map as a Function
logLik.slrm

Loglikelihood of Spatial Logistic Regression
eroded.areas

Areas of Morphological Erosions
delaunay

Delaunay Triangulation of Point Pattern
clickjoin

Interactively join vertices on a plot
is.subset.owin

Determine Whether One Window is Contained In Another
plot.hyperframe

Plot Entries in a Hyperframe
runiflpp

Uniform Random Points on a Linear Network
deltametric

Delta Metric
markcorr

Mark Correlation Function
diagnose.ppm

Diagnostic Plots for Fitted Point Process Model
im.object

Class of Images
pcfdot.inhom

Inhomogeneous Multitype Pair Correlation Function (Type-i-To-Any-Type)
is.multitype

Test whether Object is Multitype
plot.im

Plot a Pixel Image
disc

Circular Window
pixelquad

Quadrature Scheme Based on Pixel Grid
ppx

Multidimensional Space-Time Point Pattern
expand.owin

Expand Window By Factor
km.rs

Kaplan-Meier and Reduced Sample Estimator using Histograms
pppdist

Distance Between Two Point Patterns
marktable

Tabulate Marks in Neighbourhood of Every Point in a Point Pattern
matclust.estK

Fit the Matern Cluster Point Process by Minimum Contrast
as.function.fv

Convert Function Value Table to Function
linearpcfinhom

Inhomogeneous Linear Pair Correlation Function
Iest

Estimate the I-function
methods.lpp

Methods for Point Patterns on a Linear Network
print.im

Print Brief Details of an Image
selfcrossing.psp

Crossing Points in a Line Segment Pattern
summary.psp

Summary of a Line Segment Pattern Dataset
border

Border Region of a Window
plot.ppp

plot a Spatial Point Pattern
pointsOnLines

Place Points Evenly Along Specified Lines
methods.boxx

Methods for Multi-Dimensional Box
integral.im

Integral of a Pixel Image
LennardJones

The Lennard-Jones Potential
bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation
summary.listof

Summary of a List of Things
mean.im

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

Signed or Vector-Valued Measure
progressreport

Print Progress Reports
bounding.box.xy

Convex Hull of Points
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
coef.ppm

Coefficients of Fitted Point Process Model
crossdist.ppp

Pairwise distances between two different point patterns
flu

Influenza Virus Proteins
quadratresample

Resample a Point Pattern by Resampling Quadrats
plot.plotppm

Plot a plotppm Object Created by plot.ppm
print.ppp

Print Brief Details of a Point Pattern Dataset
rescale.im

Convert Pixel Image to Another Unit of Length
chorley

Chorley-Ribble Cancer Data
lengths.psp

Lengths of Line Segments
print.psp

Print Brief Details of a Line Segment Pattern Dataset
is.empty

Test Whether An Object Is Empty
psstG

Pseudoscore Diagnostic For Fitted Model against Saturation Alternative
pcfinhom

Inhomogeneous Pair Correlation Function
as.im

Convert to Pixel Image
ripras

Estimate window from points alone
rescale.psp

Convert Line Segment Pattern to Another Unit of Length
localK

Neighbourhood density function
by.ppp

Apply a Function to a Point Pattern Broken Down by Factor
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
compatible.fv

Test Whether Two Function Objects Are Compatible
smooth.msr

Smooth a Signed or Vector-Valued Measure
npoints

Number of Points in a Point Pattern
rMatClust

Simulate Matern Cluster Process
pairdist.ppx

Pairwise Distances in Any Dimensions
model.images

Compute Images of Constructed Covariates
nztrees

New Zealand Trees Point Pattern
murchison

Murchison gold deposits
rescale

Convert dataset to another unit of length
plot.fasp

Plot a Function Array
pcfdot

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

Generate a Quadrature Scheme from a Point Pattern
is.multitype.ppp

Test Whether A Point Pattern is Multitype
rMaternI

Simulate Matern Model I
clickppp

Interactively Add Points
rMosaicField

Mosaic Random Field
simulate.kppm

Simulate a Fitted Cluster Point Process Model
bind.fv

Combine Function Value Tables
reach

Interaction Distance of a Point Process
rescale.owin

Convert Window to Another Unit of Length
eem

Exponential Energy Marks
methods.pp3

Methods for three-dimensional point patterns
pairdist.lpp

Pairwise shortest-path distances between points on a linear network
nbfires

Point Patterns of New Brunswick Forest Fires
multiplicity.ppp

Count Multiplicity of Duplicate Points
rmh

Simulate point patterns using the Metropolis-Hastings algorithm.
harmonic

Basis for Harmonic Functions
pp3

Three Dimensional Point Pattern
rshift

Random Shift
rjitter

Random Perturbation of a Point Pattern
dummy.ppm

Extract Dummy Points Used to Fit a Point Process Model
superimpose

Superimpose Several Geometric Patterns
flipxy

Exchange X and Y Coordinates
reduced.sample

Reduced Sample Estimator using Histogram Data
rmpoispp

Generate Multitype Poisson Point Pattern
nearest.raster.point

Find Pixel Nearest to a Given Point
distmap.owin

Distance Map of Window
fasp.object

Function Arrays for Spatial Patterns
pairdist.pp3

Pairwise distances in Three Dimensions
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
is.ppm

Test Whether An Object Is A Fitted Point Process Model
ppm.object

Class of Fitted Point Process Models
humberside

Humberside Data on Childhood Leukaemia and Lymphoma
rpoisppx

Generate Poisson Point Pattern in Any Dimensions
rmh.default

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

Methods for Cluster Point Process Models
with.fv

Evaluate an Expression in a Function Table
summary.quad

Summarizing a Quadrature Scheme
psp

Create a Line Segment Pattern
rstrat

Simulate Stratified Random Point Pattern
is.marked.ppp

Test Whether A Point Pattern is Marked
rshift.ppp

Randomly Shift a Point Pattern
linearK

Linear K Function
summary.ppp

Summary of a Point Pattern Dataset
pixellate

Convert Spatial Object to Pixel Image
with.hyperframe

Evaluate an Expression in Each Row of a Hyperframe
spatstat-package

The Spatstat Package
pairs.im

Scatterplot Matrix for Pixel Images
psstA

Pseudoscore Diagnostic For Fitted Model against Area-Interaction Alternative
quadratcount

Quadrat counting for a point pattern
plot.linnet

Plot a linear network
tile.areas

Compute Areas of Tiles in a Tessellation
lansing

Lansing Woods Point Pattern
Hardcore

The Hard Core Point Process Model
tiles

Extract List of Tiles in a Tessellation
project2segment

Move Point To Nearest Line
is.im

Test Whether An Object Is A Pixel Image
plot.ppm

plot a Fitted Point Process Model
latest.news

Print News About Latest Version of Package
pppmatching.object

Class of Point Matchings
Jcross

Multitype J Function (i-to-j)
tess

Create a Tessellation
shift.psp

Apply Vector Translation To Line Segment Pattern
Strauss

The Strauss Point Process Model
spruces

Spruces Point Pattern
pairsat.family

Saturated Pairwise Interaction Point Process Family
pixellate.psp

Convert Line Segment Pattern to Pixel Image
hist.im

Histogram of Pixel Values in an Image
rmh.ppm

Simulate from a Fitted Point Process Model
rescue.rectangle

Convert Window Back To Rectangle
runifpoint

Generate N Uniform Random Points
Poisson

Poisson Point Process Model
lgcp.estpcf

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

Simulate Baddeley-Silverman Cell Process
scaletointerval

Rescale Data to Lie Between Specified Limits
thomas.estpcf

Fit the Thomas Point Process by Minimum Contrast
lut

Lookup Tables
plot.colourmap

Plot a Colour Map
urkiola

Urkiola Woods Point Pattern
infline

Infinite Straight Lines
linim

Create Pixel Image on Linear Network
methods.ppx

Methods for Multidimensional Space-Time Point Patterns
iplot

Point and Click Interface for Displaying a Point Pattern
append.psp

Combine Two Line Segment Patterns
rmhmodel.ppm

Interpret Fitted Model for Metropolis-Hastings Simulation.
rpoislpp

Poisson Point Process on a Linear Network
plot.fv

Plot Function Values
spokes

Spokes pattern of dummy points
plot.kppm

Plot a fitted cluster point process
shapley

Galaxies in the Shapley Supercluster
linearKinhom

Inhomogeneous Linear K Function
logLik.ppm

Log Likelihood and AIC for Point Process Model
plot.msr

Plot a Signed or Vector-Valued Measure
marks

Marks of a Point Pattern
markconnect

Mark Connection Function
plot.linim

Plot Pixel Image on Linear Network
simplenet

Simple Example of Linear Network
mincontrast

Method of Minimum Contrast
runifpoint3

Generate N Uniform Random Points in Three Dimensions
ord.family

Ord Interaction Process Family
predict.ppm

Prediction from a Fitted Point Process Model
model.frame.ppm

Extract the Environment of a Point Process Model
vcov.ppm

Variance-Covariance Matrix for a Fitted Point Process Model
redwoodfull

California Redwoods Point Pattern (Entire Dataset)
adaptive.density

Intensity Estimate of Point Pattern Using Tessellation
rmhcontrol

Set Control Parameters for Metropolis-Hastings Algorithm.
rpoispp3

Generate Poisson Point Pattern in Three Dimensions
square

Square Window
runifdisc

Generate N Uniform Random Points in a Disc
pcfcross

Multitype pair correlation function (cross-type)
owin.object

Class owin
smooth.ppp

Spatial smoothing of observations at irregular points
density.ppp

Kernel Smoothed Intensity of Point Pattern
plot.envelope

Plot a Simulation Envelope
distmap

Distance Map
Extract.listof

Extract or Replace Subset of a List of Things
AreaInter

The Area Interaction Point Process Model
compatible.im

Test Whether Two Pixel Images Are Compatible
MultiStrauss

The Multitype Strauss Point Process Model
StraussHard

The Strauss / Hard Core Point Process Model
rotate.psp

Rotate a Line Segment Pattern
unmark

Remove Marks
markstat

Summarise Marks in Every Neighbourhood in a Point Pattern
qqplot.ppm

Q-Q Plot of Residuals from Fitted Point Process Model
plot.pp3

Plot a three-dimensional point pattern
quadrat.test.splitppp

Chi-Squared Test of CSR for Split Point Pattern
rThomas

Simulate Thomas Process
fitin.ppm

Extract the Interaction from a Fitted Point Process Model
quantile.im

Sample Quantiles of Pixel Image
midpoints.psp

Midpoints of Line Segment Pattern
idw

Inverse-distance weighted smoothing of observations at irregular points
suffstat

Sufficient Statistic of Point Process Model
owin

Create a Window
rlabel

Random Re-Labelling of Point Pattern
rmhmodel.list

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

Plot a List of Point Patterns
perimeter

Perimeter Length of Window
areaLoss

Difference of Disc Areas
rotate

Rotate
rgbim

Create Colour-Valued Pixel Image
pcf

Pair Correlation Function
pixellate.ppp

Convert Point Pattern to Pixel Image
redwood

California Redwoods Point Pattern (Ripley's Subset)
plot.kstest

Plot a Spatial Kolmogorov-Smirnov Test
ppm

Fit Point Process Model to Data
update.kppm

Update a Fitted Cluster Point Process Model
ponderosa

Ponderosa Pine Tree Point Pattern
shift.im

Apply Vector Translation To Pixel Image
sharpen

Data Sharpening of Point Pattern
rescale.ppp

Convert Point Pattern to Another Unit of Length
shift.ppp

Apply Vector Translation To Point Pattern
localpcf

Local pair correlation function
volume

Volume of an Object
whist

Weighted Histogram
summary.owin

Summary of a Spatial Window
levelset

Level Set of a Pixel Image
predict.slrm

Predicted or Fitted Values from Spatial Logistic Regression
profilepl

Profile Maximum Pseudolikelihood
areaGain

Difference of Disc Areas
linnet

Create a Linear Network
as.data.frame.psp

Coerce Line Segment Pattern to a Data Frame
rNeymanScott

Simulate Neyman-Scott Process
as.psp

Convert Data To Class psp
runifpointx

Generate N Uniform Random Points in Any Dimensions
rmpoint

Generate N Random Multitype Points
nearestsegment

Find Line Segment Nearest to Each Point
scanpp

Read Point Pattern From Data File
rhohat

Smoothing Estimate of Covariate Transformation
angles.psp

Orientation Angles of Line Segments
rmhmodel.default

Build Point Process Model for Metropolis-Hastings Simulation.
plot.owin

Plot a Spatial Window
pppmatching

Create a Point Matching
rthin

Random Thinning
rpoislinetess

Poisson Line Tessellation
nndist.ppx

Nearest Neighbour Distances in Any Dimensions
sumouter

Compute Quadratic Forms
rotate.owin

Rotate a Window
pcf.fasp

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

Apply Smoothing to Function Values
nnwhich.ppx

Nearest Neighbours in Any Dimensions
simdat

Simulated Point Pattern
rGaussPoisson

Simulate Gauss-Poisson Process
swedishpines

Swedish Pines Point Pattern
compareFit

Residual Diagnostics for Multiple Fitted Models
rMosaicSet

Mosaic Random Set
rpoisppOnLines

Generate Poisson Point Pattern on Line Segments
simplify.owin

Approximate a Polygon by a Simpler Polygon
nndist.pp3

Nearest neighbour distances in three dimensions
spatstat-internal

Internal spatstat functions
slrm

Spatial Logistic Regression
nnwhich

Nearest neighbour
which.max.im

Identify Pixelwise Maximum of Several Pixel Images
default.rmhcontrol

Set Default Control Parameters for Metropolis-Hastings Algorithm.
pairdist.ppp

Pairwise distances
dilated.areas

Areas of Morphological Dilations
pcf.fv

Pair Correlation Function obtained from K Function
erosion

Morphological Erosion
summary.im

Summarizing a Pixel Image
fv

Create a Function Value Table
unitname

Name for Unit of Length
pairwise.family

Pairwise Interaction Process Family
is.ppp

Test Whether An Object Is A Point Pattern
update.ppm

Update a Fitted Point Process Model
spatstat.options

Internal Options in Spatstat Package
pcf.ppp

Pair Correlation Function of Point Pattern
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
lurking

Lurking variable plot
nndist

Nearest neighbour distances
rmhmodel

Define Point Process Model for Metropolis-Hastings Simulation.
rlinegrid

Generate grid of parallel lines with random displacement
pairdist.psp

Pairwise distances between line segments
rsyst

Simulate systematic random point pattern
is.marked.ppm

Test Whether A Point Process Model is Marked
periodify

Make Periodic Copies of a Spatial Pattern
rMaternII

Simulate Matern Model II
simulate.ppm

Simulate a Fitted Gibbs Point Process Model
print.owin

Print Brief Details of a Spatial Window
quad.ppm

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

Class of Line Segment Patterns
raster.x

Cartesian Coordinates for a Pixel Raster
rshift.psp

Randomly Shift a Line Segment Pattern
runifpointOnLines

Generate N Uniform Random Points On Line Segments
solutionset

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

Apply Vector Translation
summary.splitppp

Summary of a Split Point Pattern
union.quad

Union of Data and Dummy Points
BadGey

Hybrid Geyer Point Process Model
Extract.quad

Subset of Quadrature Scheme
Kcross

Multitype K Function (Cross-type)
Lest

L-function
Saturated

Saturated Pairwise Interaction model
by.im

Apply Function to Image Broken Down by Factor
clarkevans

Clark and Evans Aggregation Index
colourtools

Convert and Compare Colours in Different Formats
discpartarea

Area of Part of Disc
diameter.owin

Diameter of a Window
Extract.tess

Extract or Replace Subset of Tessellation
eval.fasp

Evaluate Expression Involving Function Arrays
ewcdf

Weighted Empirical Cumulative Distribution Function
Kdot.inhom

Inhomogeneous Multitype K Dot Function
Geyer

Geyer's Saturation Point Process Model
is.multitype.ppm

Test Whether A Point Process Model is Multitype
lppm

Fit Point Process Model to Point Pattern on Linear Network
matchingdist

Distance for a Point Pattern Matching
affine.psp

Apply Affine Transformation To Line Segment Pattern
methods.distfun

Methods for Distance Functions
methods.lppm

Methods for Fitted Point Process Models on a Linear Network
anemones

Beadlet Anemones Data
plot.quad

plot a Spatial Quadrature Scheme
plot.listof

Plot a List of Things
rknn

Theoretical Distribution of Nearest Neighbour Distance
convexhull.xy

Convex Hull of Points
default.dummy

Generate a Default Pattern of Dummy Points
dilation

Morphological Dilation
rpoisline

Generate Poisson Random Line Process
incircle

Find Largest Circle Inside Window
rshift.splitppp

Randomly Shift a List of Point Patterns
inforder.family

Infinite Order Interaction Family
setcov

Set Covariance of a Window
summary.ppm

Summarizing a Fitted Point Process Model
trim.rectangle

Cut margins from rectangle
vcov.kppm

Variance-Covariance Matrix for a Fitted Cluster Point Process Model
methods.linnet

Methods for Linear Networks
longleaf

Longleaf Pines Point Pattern
print.quad

Print a Quadrature Scheme
plot.bermantest

Plot Result of Berman Test
psst

Pseudoscore Diagnostic For Fitted Model against General Alternative
rLGCP

Simulate Log-Gaussian Cox Process
rSSI

Simulate Simple Sequential Inhibition
rmhstart

Determine Initial State for Metropolis-Hastings Simulation.
shift.owin

Apply Vector Translation To Window
rpoint

Generate N Random Points
varblock

Estimate Variance of Summary Statistic by Subdivision
Gmulti

Marked Nearest Neighbour Distance Function
Gfox

Foxall's Distance Functions
boxx

Multi-Dimensional Box
collapse.fv

Collapse Several Function Tables into One
crossdist.psp

Pairwise distances between two different line segment patterns
cut.ppp

Classify Points in a Point Pattern
effectfun

Compute Fitted Effect of a Spatial Covariate in a Point Process Model
fv.object

Function Value Table
gridweights

Compute Quadrature Weights Based on Grid Counts
identify.ppp

Identify Points in a Point Pattern
as.hyperframe.ppx

Extract coordinates and marks of multidimensional point pattern
kstest.ppm

Kolmogorov-Smirnov Test for Point Process Model
methods.rhohat

Methods for Intensity Functions of Spatial Covariate
model.matrix.ppm

Extract Design Matrix from Point Process Model
pcf3est

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

Convert Window to Pixel Image
plot.psp

plot a Spatial Line Segment Pattern
plot.tess

Plot a tessellation
predict.kppm

Prediction from a Fitted Cluster Point Process Model
print.ppm

Print a Fitted Point Process Model
residualspaper

Data and Code From JRSS Discussion Paper on Residuals
relrisk

Nonparametric Estimate of Spatially-Varying Relative Risk
rotate.ppp

Rotate a Point Pattern
split.ppp

Divide Point Pattern into Sub-patterns
thomas.estK

Fit the Thomas Point Process by Minimum Contrast
zapsmall.im

Rounding of Pixel Values
vertices

Vertices of a Window
stieltjes

Compute Integral of Function Against Cumulative Distribution
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
residuals.ppm

Residuals for Fitted Point Process Model
bdist.points

Distance to Boundary of Window
unique.ppp

Extract Unique Points from a Spatial Point Pattern
ppp.object

Class of Point Patterns
quadrat.test

Chi-Squared Dispersion Test for Spatial Point Pattern Based on Quadrat Counts
area.owin

Area of a Window
distmap.psp

Distance Map of Line Segment Pattern
osteo

Osteocyte Lacunae Data: Replicated Three-Dimensional Point Patterns
istat

Point and Click Interface for Exploratory Analysis of Point Pattern
Ldot

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

Morishita Index Plot
hamster

Aherne's hamster tumour data
applynbd

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

Divide Image Into Sub-images
nnclean

Nearest Neighbour Clutter Removal
heather

Diggle's Heather Data
methods.box3

Methods for Three-Dimensional Box
lineardisc

Compute Disc of Given Radius in Linear Network
nnwhich.pp3

Nearest neighbours in three dimensions
gridcentres

Rectangular grid of points
rStrauss

Perfect Simulation of the Strauss Process
predict.lppm

Predict Point Process Model on Linear Network