Learn R Programming

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

spatstat (version 1.53-2)

Spatial Point Pattern Analysis, Model-Fitting, Simulation, Tests

Description

Comprehensive open-source toolbox for analysing Spatial Point Patterns. Focused mainly on two-dimensional point patterns, including multitype/marked points, in any spatial region. Also supports three-dimensional point patterns, space-time point patterns in any number of dimensions, point patterns on a linear network, and patterns of other geometrical objects. Supports spatial covariate data such as pixel images. Contains over 2000 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, tessellations, and linear networks. Exploratory methods include quadrat counts, K-functions and their simulation envelopes, 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, and kernel estimates of covariate effects. Formal hypothesis tests of random pattern (chi-squared, Kolmogorov-Smirnov, Monte Carlo, Diggle-Cressie-Loosmore-Ford, Dao-Genton, two-stage Monte Carlo) and tests for covariate effects (Cox-Berman-Waller-Lawson, Kolmogorov-Smirnov, ANOVA) are also supported. Parametric models can be fitted to point pattern data using the functions ppm(), kppm(), slrm(), dppm() similar to glm(). Types of models include Poisson, Gibbs and Cox point processes, Neyman-Scott cluster processes, and determinantal point processes. Models may involve dependence on covariates, inter-point interaction, cluster formation and dependence on marks. Models are fitted by maximum likelihood, logistic regression, minimum contrast, and composite likelihood methods. A model can be fitted to a list of point patterns (replicated point pattern data) using the function mppm(). The model can include random effects and fixed effects depending on the experimental design, in addition to all the features listed above. Fitted point process models can be simulated, automatically. Formal hypothesis tests of a fitted model are supported (likelihood ratio test, analysis of deviance, Monte Carlo tests) along with basic tools for model selection (stepwise(), AIC()). Tools for validating the fitted model include simulation envelopes, residuals, residual plots and Q-Q plots, leverage and influence diagnostics, partial residuals, and added variable plots.

Copy Link

Version

Install

install.packages('spatstat')

Monthly Downloads

19,373

Version

1.53-2

License

GPL (>= 2)

Maintainer

Last Published

October 8th, 2017

Functions in spatstat (1.53-2)

Emark

Diagnostics for random marking
Extract.anylist

Extract or Replace Subset of a List of Things
CDF

Cumulative Distribution Function From Kernel Density Estimate
Concom

The Connected Component Process Model
DiggleGatesStibbard

Diggle-Gates-Stibbard Point Process Model
DiggleGratton

Diggle-Gratton model
Extract.fasp

Extract Subset of Function Array
Extract.fv

Extract or Replace Subset of Function Values
AreaInter

The Area Interaction Point Process Model
BadGey

Hybrid Geyer Point Process Model
Extract.influence.ppm

Extract Subset of Influence Object
Extract.layered

Extract or Replace Subset of a Layered Object
Extract.leverage.ppm

Extract Subset of Leverage Object
Extract.linim

Extract Subset of Pixel Image on Linear Network
Extract.owin

Extract Subset of Window
Extract.ppp

Extract or Replace Subset of Point Pattern
Extract.linnet

Extract Subset of Linear Network
Extract.listof

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

Subset of Quadrature Scheme
Extract.tess

Extract or Replace Subset of Tessellation
F3est

Empty Space Function of a Three-Dimensional Point Pattern
Fest

Estimate the Empty Space Function or its Hazard Rate
Extract.solist

Extract or Replace Subset of a List of Spatial Objects
Frame

Extract or Change the Containing Rectangle of a Spatial Object
G3est

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

Inhomogeneous Marked G-Function
Fiksel

The Fiksel Interaction
Ginhom

Inhomogeneous Nearest Neighbour Function
Gmulti

Marked Nearest Neighbour Distance Function
K3est

K-function of a Three-Dimensional Point Pattern
Extract.hyperframe

Extract or Replace Subset of Hyperframe
Extract.im

Extract Subset of Image
Extract.ppx

Extract Subset of Multidimensional Point Pattern
Extract.psp

Extract Subset of Line Segment Pattern
Gres

Residual G Function
HierStraussHard

The Hierarchical Strauss Hard Core Point Process Model
Hybrid

Hybrid Interaction Point Process Model
Kcross

Multitype K Function (Cross-type)
Kcross.inhom

Inhomogeneous Cross K Function
Kmodel.dppm

K-function or Pair Correlation Function of a Determinantal Point Process Model
Kmodel.kppm

K Function or Pair Correlation Function of Cluster Model or Cox model
Math.im

S3 Group Generic methods for images
Math.imlist

S3 Group Generic methods for List of Images
PPversion

Transform a Function into its P-P or Q-Q Version
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
Gcom

Model Compensator of Nearest Neighbour Function
Gcross

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

Geyer's Saturation Point Process Model
Gfox

Foxall's Distance Functions
Jinhom

Inhomogeneous J-function
Jmulti

Marked J Function
Kmeasure

Reduced Second Moment Measure
Kmodel

K Function or Pair Correlation Function of a Point Process Model
Kmulti.inhom

Inhomogeneous Marked K-Function
Kres

Residual K Function
Lest

L-function
Linhom

L-function
Kcom

Model Compensator of K Function
Kdot.inhom

Inhomogeneous Multitype K Dot Function
LambertW

Lambert's W Function
MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
Ops.msr

Arithmetic Operations on Measures
Replace.linim

Reset Values in Subset of Image on Linear Network
SatPiece

Piecewise Constant Saturated Pairwise Interaction Point Process Model
Kdot

Multitype K Function (i-to-any)
adaptive.density

Intensity Estimate of Point Pattern Using Tessellation
add.texture

Fill Plot With Texture
affine.ppp

Apply Affine Transformation To Point Pattern
affine.psp

Apply Affine Transformation To Line Segment Pattern
Extract.lpp

Extract Subset of Point Pattern on Linear Network
Extract.msr

Extract Subset of Signed or Vector Measure
Extract.splitppp

Extract or Replace Sub-Patterns
[.ssf

Subset of spatially sampled function
Finhom

Inhomogeneous Empty Space Function
FmultiInhom

Inhomogeneous Marked F-Function
HierHard

The Hierarchical Hard Core Point Process Model
Gdot

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

Nearest Neighbour Distance Function G
Hardcore

The Hard Core Point Process Model
Hest

Spherical Contact Distribution Function
HierStrauss

The Hierarchical Strauss Point Process Model
Iest

Estimate the I-function
Jcross

Multitype J Function (i-to-j)
Kest

K-function
Kest.fft

K-function using FFT
Jdot

Multitype J Function (i-to-any)
Jest

Estimate the J-function
Kinhom

Inhomogeneous K-function
Kmark

Mark-Weighted K Function
Poisson

Poisson Point Process Model
Replace.im

Reset Values in Subset of Image
Strauss

The Strauss Point Process Model
StraussHard

The Strauss / Hard Core Point Process Model
anova.ppm

ANOVA for Fitted Point Process Models
anova.slrm

Analysis of Deviance for Spatial Logistic Regression Models
as.data.frame.hyperframe

Coerce Hyperframe to Data Frame
as.data.frame.im

Convert Pixel Image to Data Frame
Kmodel.ppm

K Function or Pair Correlation Function of Gibbs Point Process model
Kmulti

Marked K-Function
Math.linim

S3 Group Generic Methods for Images on a Linear Network
MinkowskiSum

Minkowski Sum of Windows
MultiHard

The Multitype Hard Core Point Process Model
Kscaled

Locally Scaled K-function
Ksector

Sector K-function
Ldot.inhom

Inhomogeneous Multitype L Dot Function
LennardJones

The Lennard-Jones Potential
as.function.leverage.ppm

Convert Leverage Object to Function of Coordinates
as.function.owin

Convert Window to Indicator Function
as.im

Convert to Pixel Image
as.interact

Extract Interaction Structure
MultiStrauss

The Multitype Strauss Point Process Model
Smooth.ppp

Spatial smoothing of observations at irregular points
Smooth.ssf

Smooth a Spatially Sampled Function
Ord

Generic Ord Interaction model
OrdThresh

Ord's Interaction model
Saturated

Saturated Pairwise Interaction model
Smooth

Spatial smoothing of data
as.matrix.im

Convert Pixel Image to Matrix or Array
as.matrix.owin

Convert Pixel Image to Matrix
bdist.tiles

Distance to Boundary of Window
addvar

Added Variable Plot for Point Process Model
affine

Apply Affine Transformation
alltypes

Calculate Summary Statistic for All Types in a Multitype Point Pattern
angles.psp

Orientation Angles of Line Segments
as.boxx

Convert Data to Multi-Dimensional Box
Triplets

The Triplet Point Process Model
Tstat

Third order summary statistic
affine.tess

Apply Geometrical Transformation To Tessellation
allstats

Calculate four standard summary functions of a point pattern.
anyNA.im

Check Whether Image Contains NA Values
anylist

List of Objects
area.owin

Area of a Window
as.data.frame.envelope

Coerce Envelope to Data Frame
as.function.tess

Convert a Tessellation to a Function
as.fv

Convert Data To Class fv
as.layered

Convert Data To Layered Object
Window

Extract or Change the Window of a Spatial Object
WindowOnly

Extract Window of Spatial Object
affine.im

Apply Affine Transformation To Pixel Image
affine.linnet

Apply Geometrical Transformations to a Linear Network
areaGain

Difference of Disc Areas
as.data.frame.psp

Coerce Line Segment Pattern to a Data Frame
as.data.frame.tess

Convert Tessellation to Data Frame
as.linim

Convert to Pixel Image on Linear Network
append.psp

Combine Two Line Segment Patterns
applynbd

Apply Function to Every Neighbourhood in a Point Pattern
areaLoss

Difference of Disc Areas
as.box3

Convert Data to Three-Dimensional Box
as.linnet.linim

Extract Linear Network from Data on a Linear Network
as.solist

Convert List of Two-Dimensional Spatial Objects
as.tess

Convert Data To Tessellation
beachcolours

Create Colour Scheme for a Range of Numbers
box3

Three-Dimensional Box
boxx

Multi-Dimensional Box
bw.diggle

Cross Validated Bandwidth Selection for Kernel Density
beginner

Print Introduction For Beginners
begins

Check Start of Character String
boundingbox

Bounding Box of a Window, Image, or Point Pattern
as.hyperframe

Convert Data to Hyperframe
as.hyperframe.ppx

Extract coordinates and marks of multidimensional point pattern
as.mask

Pixel Image Approximation of a Window
bw.frac

Bandwidth Selection Based on Window Geometry
cdf.test.mppm

Spatial Distribution Test for Multiple Point Process Model
centroid.owin

Centroid of a window
clickpoly

Interactively Define a Polygon
boundingcircle

Smallest Enclosing Circle
clickppp

Interactively Add Points
clusterradius

Compute or Extract Effective Range of Cluster Kernel
clusterset

Allard-Fraley Estimator of Cluster Feature
colourmap

Colour Lookup Tables
colourtools

Convert and Compare Colours in Different Formats
connected.linnet

Connected Components of a Linear Network
connected.lpp

Connected Components of a Point Pattern on a Linear Network
crossdist.ppp

Pairwise distances between two different point patterns
crossdist.ppx

Pairwise Distances Between Two Different Multi-Dimensional Point Patterns
bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation
bw.scott

Scott's Rule for Bandwidth Selection for Kernel Density
cbind.hyperframe

Combine Hyperframes by Rows or by Columns
as.linfun

Convert Data to a Function on a Linear Network
as.owin

Convert Data To Class owin
as.polygonal

Convert a Window to a Polygonal Window
auc

Area Under ROC Curve
crossing.psp

Crossing Points of Two Line Segment Patterns
cut.im

Convert Pixel Image from Numeric to Factor
default.dummy

Generate a Default Pattern of Dummy Points
bc.ppm

Bias Correction for Fitted Model
bits.test

Balanced Independent Two-Stage Monte Carlo Test
blur

Apply Gaussian Blur to a Pixel Image
by.im

Apply Function to Image Broken Down by Factor
default.expand

Default Expansion Rule for Simulation of Model
dg.progress

Progress Plot of Dao-Genton Test of Spatial Pattern
dg.sigtrace

Significance Trace of Dao-Genton Test
diameter

Diameter of an Object
diameter.box3

Geometrical Calculations for Three-Dimensional Box
dirichletWeights

Compute Quadrature Weights Based on Dirichlet Tessellation
disc

Circular Window
by.ppp

Apply a Function to a Point Pattern Broken Down by Factor
chop.tess

Subdivide a Window or Tessellation using a Set of Lines
circdensity

Density Estimation for Circular Data
clip.infline

Intersect Infinite Straight Lines with a Window
cdf.test

Spatial Distribution Test for Point Pattern or Point Process Model
clickjoin

Interactively join vertices on a plot
clicklpp

Interactively Add Points on a Linear Network
closing

Morphological Closing
clusterfield

Field of clusters
divide.linnet

Divide Linear Network at Cut Points
dkernel

Kernel distributions and random generation
dppapproxpcf

Approximate Pair Correlation Function of Determinantal Point Process Model
dppeigen

Internal function calculating eig and index
closepairs

Close Pairs of Points
clusterfit

Fit Cluster or Cox Point Process Model via Minimum Contrast
clusterkernel

Extract Cluster Offspring Kernel
commonGrid

Determine A Common Spatial Domain And Pixel Resolution
compatible

Test Whether Objects Are Compatible
compatible.fasp

Test Whether Function Arrays Are Compatible
connected.ppp

Connected Components of a Point Pattern
compareFit

Residual Diagnostics for Multiple Fitted Models
convexhull.xy

Convex Hull of Points
convexify

Weil's Convexifying Operation
corners

Corners of a rectangle
contour.im

Contour plot of pixel image
crossdist.lpp

Pairwise distances between two point patterns on a linear network
crossdist.pp3

Pairwise distances between two different three-dimensional point patterns
Lcross

Multitype L-function (cross-type)
Lcross.inhom

Inhomogeneous Cross Type L Function
Ldot

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

Generic Pairwise Interaction model
edges2vees

List Dihedral Triples in a Graph
edit.hyperframe

Invoke Text Editor on Hyperframe
envelope.envelope

Recompute Envelopes
envelope.lpp

Envelope for Point Patterns on Linear Network
dclf.sigtrace

Significance Trace of Cressie-Loosmore-Ford or Maximum Absolute Deviation Test
dclf.test

Diggle-Cressie-Loosmore-Ford and Maximum Absolute Deviation Tests
delaunayDistance

Distance on Delaunay Triangulation
delaunayNetwork

Linear Network of Delaunay Triangulation or Dirichlet Tessellation
eval.fv

Evaluate Expression Involving Functions
eval.im

Evaluate Expression Involving Pixel Images
fitin.ppm

Extract the Interaction from a Fitted Point Process Model
fitted.lppm

Fitted Intensity for Point Process on Linear Network
as.mask.psp

Convert Line Segment Pattern to Binary Pixel Mask
as.ppm

Extract Fitted Point Process Model
as.ppp

Convert Data To Class ppp
bdist.pixels

Distance to Boundary of Window
bdist.points

Distance to Boundary of Window
branchlabelfun

Tree Branch Membership Labelling Function
bugfixes

List Recent Bug Fixes
covering

Cover Region with Discs
data.ppm

Extract Original Data from a Fitted Point Process Model
dclf.progress

Progress Plot of Test of Spatial Pattern
default.rmhcontrol

Set Default Control Parameters for Metropolis-Hastings Algorithm.
fourierbasis

Fourier Basis Functions
fryplot

Fry Plot of Point Pattern
harmonise.im

Make Pixel Images Compatible
Penttinen

Penttinen Interaction
Smooth.fv

Apply Smoothing to Function Values
Smooth.msr

Smooth a Signed or Vector-Valued Measure
Smoothfun.ppp

Smooth Interpolation of Marks as a Spatial Function
bw.pcf

Cross Validated Bandwidth Selection for Pair Correlation Function
clarkevans

Clark and Evans Aggregation Index
clarkevans.test

Clark and Evans Test
clickbox

Interactively Define a Rectangle
density.psp

Kernel Smoothing of Line Segment Pattern
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
diameter.boxx

Geometrical Calculations for Multi-Dimensional Box
diameter.linnet

Diameter and Bounding Radius of a Linear Network
bw.ppl

Likelihood Cross Validation Bandwidth Selection for Kernel Density
discpartarea

Area of Part of Disc
discretise

Safely Convert Point Pattern Window to Binary Mask
distmap

Distance Map
distmap.owin

Distance Map of Window
dppPowerExp

Power Exponential Spectral Determinantal Point Process Model
Softcore

The Soft Core Point Process Model
affine.lpp

Apply Geometrical Transformations to Point Pattern on a Linear Network
affine.owin

Apply Affine Transformation To Window
anova.lppm

ANOVA for Fitted Point Process Models on Linear Network
dppapproxkernel

Approximate Determinantal Point Process Kernel
edge.Ripley

Ripley's Isotropic Edge Correction
edge.Trans

Translation Edge Correction
emend

Force Model to be Valid
emend.ppm

Force Point Process Model to be Valid
harmonise.msr

Make Measures Compatible
hierpair.family

Hierarchical Pairwise Interaction Process Family
hist.funxy

Histogram of Values of a Spatial Function
imcov

Spatial Covariance of a Pixel Image
clickdist

Interactively Measure Distance
coef.mppm

Coefficients of Point Process Model Fitted to Multiple Point Patterns
coef.ppm

Coefficients of Fitted Point Process Model
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
envelopeArray

Array of Simulation Envelopes of Summary Function
exactMPLEstrauss

Exact Maximum Pseudolikelihood Estimate for Stationary Strauss Process
improve.kppm

Improve Intensity Estimate of Fitted Cluster Point Process Model
inforder.family

Infinite Order Interaction Family
insertVertices

Insert New Vertices in a Linear Network
intersect.owin

Intersection, Union or Set Subtraction of Windows
expand.owin

Apply Expansion Rule
flipxy

Exchange X and Y Coordinates
foo

Foo is Not a Real Name
harmonise

Make Objects Compatible
harmonise.fv

Make Function Tables Compatible
headtail

First or Last Part of a Spatial Pattern
hextess

Hexagonal Grid or Tessellation
anova.mppm

ANOVA for Fitted Point Process Models for Replicated Patterns
as.data.frame.owin

Convert Window to Data Frame
as.data.frame.ppp

Coerce Point Pattern to a Data Frame
as.function.fv

Convert Function Value Table to Function
delaunay

Delaunay Triangulation of Point Pattern
dfbetas.ppm

Parameter influence measure
dg.envelope

Global Envelopes for Dao-Genton Test
dilation

Morphological Dilation
intersect.tess

Intersection of Two Tessellations
is.connected.ppp

Determine Whether a Point Pattern is Connected
is.convex

Test Whether a Window is Convex
is.ppm

Test Whether An Object Is A Fitted Point Process Model
im.apply

Apply Function Pixelwise to List of Images
im.object

Class of Images
infline

Infinite Straight Lines
influence.ppm

Influence Measure for Spatial Point Process Model
intensity.ppx

Intensity of a Multidimensional Space-Time Point Pattern
as.function.im

Convert Pixel Image to Function of Coordinates
as.linnet.psp

Convert Line Segment Pattern to Linear Network
as.lpp

Convert Data to a Point Pattern on a Linear Network
as.psp

Convert Data To Class psp
as.rectangle

Window Frame
berman.test

Berman's Tests for Point Process Model
bind.fv

Combine Function Value Tables
border

Border Region of a Window
bounding.box.xy

Convex Hull of Points
dim.detpointprocfamily

Dimension of Determinantal Point Process Model
discs

Union of Discs
distcdf

Distribution Function of Interpoint Distance
distmap.ppp

Distance Map of Point Pattern
distmap.psp

Distance Map of Line Segment Pattern
dppparbounds

Parameter Bound for a Determinantal Point Process Model
dppspecden

Extract Spectral Density from Determinantal Point Process Model Object
dppspecdenrange

Range of Spectral Density of a Determinantal Point Process Model
bw.smoothppp

Cross Validated Bandwidth Selection for Spatial Smoothing
bw.stoyan

Stoyan's Rule of Thumb for Bandwidth Selection
cauchy.estK

Fit the Neyman-Scott cluster process with Cauchy kernel
compileK

Generic Calculation of K Function and Pair Correlation Function
complement.owin

Take Complement of a Window
concatxy

Concatenate x,y Coordinate Vectors
cauchy.estpcf

Fit the Neyman-Scott cluster process with Cauchy kernel
closepairs.pp3

Close Pairs of Points in 3 Dimensions
closetriples

Close Triples of Points
coef.slrm

Coefficients of Fitted Spatial Logistic Regression Model
connected

Connected components
crossdist

Pairwise distances
crossdist.default

Pairwise distances between two different sets of points
collapse.fv

Collapse Several Function Tables into One
compatible.fv

Test Whether Function Objects Are Compatible
compatible.im

Test Whether Pixel Images Are Compatible
contour.imlist

Array of Contour Plots
is.ppp

Test Whether An Object Is A Point Pattern
kernel.moment

Moment of Smoothing Kernel
kernel.squint

Integral of Squared Kernel
levelset

Level Set of a Pixel Image
leverage.ppm

Leverage Measure for Spatial Point Process Model
convexhull

Convex Hull
coords

Extract or Change Coordinates of a Spatial or Spatiotemporal Point Pattern
cut.lpp

Classify Points in a Point Pattern on a Network
cut.ppp

Classify Points in a Point Pattern
intensity.quadratcount

Intensity Estimates Using Quadrat Counts
ippm

Fit Point Process Model Involving Irregular Trend Parameters
is.connected

Determine Whether an Object is Connected
is.multitype

Test whether Object is Multitype
convolve.im

Convolution of Pixel Images
linearK

Linear K Function
linearKcross

Multitype K Function (Cross-type) for Linear Point Pattern
linim

Create Pixel Image on Linear Network
linnet

Create a Linear Network
lintess

Tessellation on a Linear Network
lixellate

Subdivide Segments of a Network
lut

Lookup Tables
crossdist.psp

Pairwise distances between two different line segment patterns
crossing.linnet

Crossing Points between Linear Network and Other Lines
deletebranch

Delete or Extract a Branch of a Tree
markconnect

Mark Connection Function
marktable

Tabulate Marks in Neighbourhood of Every Point in a Point Pattern
methods.pp3

Methods for three-dimensional point patterns
markvario

Mark Variogram
persp.im

Perspective Plot of Pixel Image
mean.linim

Mean, Median, Quantiles of Pixel Values on a Linear Network
owin

Create a Window
measureVariation

Positive and Negative Parts, and Variation, of a Measure
model.frame.ppm

Extract the Variables in a Point Process Model
methods.ppx

Methods for Multidimensional Space-Time Point Patterns
overlap.owin

Compute Area of Overlap
dummify

Convert Data to Numeric Values by Constructing Dummy Variables
effectfun

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

Elliptical Window.
eroded.areas

Areas of Morphological Erosions
nncross.lpp

Nearest Neighbours on a Linear Network
model.images

Compute Images of Constructed Covariates
nearestsegment

Find Line Segment Nearest to Each Point
nearest.raster.point

Find Pixel Nearest to a Given Point
perspPoints

Draw Points or Lines on a Surface Viewed in Perspective
density.lpp

Kernel Estimate of Intensity on a Linear Network
density.ppp

Kernel Smoothed Intensity of Point Pattern
dg.test

Dao-Genton Adjusted Goodness-Of-Fit Test
diagnose.ppm

Diagnostic Plots for Fitted Point Process Model
nnmap

K-th Nearest Point Map
nncross.pp3

Nearest Neighbours Between Two Patterns in 3D
nnfun.lpp

Nearest Neighbour Map on Linear Network
pointsOnLines

Place Points Evenly Along Specified Lines
pairdist.ppx

Pairwise Distances in Any Dimensions
pairdist.ppp

Pairwise distances
pcf.fasp

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

Plot Function Values
is.multitype.ppm

Test Whether A Point Process Model is Multitype
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
kernel.factor

Scale factor for density kernel
layout.boxes

Generate a Row or Column Arrangement of Rectangles.
dimhat

Estimate Dimension of Central Subspace
dirichlet

Dirichlet Tessellation of Point Pattern
dirichletAreas

Compute Areas of Tiles in Dirichlet Tessellation
dirichletVertices

Vertices and Edges of Dirichlet Tessellation
deltametric

Delta Metric
deriv.fv

Calculate Derivative of Function Values
detpointprocfamilyfun

Construct a New Determinantal Point Process Model Family Function
erosion

Morphological Erosion by a Disc
fitted.mppm

Fitted Conditional Intensity for Multiple Point Process Model
fitted.ppm

Fitted Conditional Intensity for Point Process Model
fv.object

Function Value Table
fvnames

Abbreviations for Groups of Columns in Function Value Table
grow.rectangle

Add margins to rectangle
harmonic

Basis for Harmonic Functions
harmonise.owin

Make Windows Compatible
has.close

Check Whether Points Have Close Neighbours
idw

Inverse-distance weighted smoothing of observations at irregular points
diameter.owin

Diameter of a Window
dilated.areas

Areas of Morphological Dilations
distfun

Distance Map as a Function
distfun.lpp

Distance Map on Linear Network
im

Create a Pixel Image Object
integral.im

Integral of a Pixel Image
integral.linim

Integral on a Linear Network
lengths.psp

Lengths of Line Segments
lineardirichlet

Dirichlet Tessellation on a Linear Network
lineardisc

Compute Disc of Given Radius in Linear Network
linearpcfdot.inhom

Inhomogeneous Multitype Pair Correlation Function (Dot-type) for Linear Point Pattern
dppBessel

Bessel Type Determinantal Point Process Model
dppCauchy

Generalized Cauchy Determinantal Point Process Model
dppkernel

Extract Kernel from Determinantal Point Process Model Object
dppm

Fit Determinantal Point Process Model
dummy.ppm

Extract Dummy Points Used to Fit a Point Process Model
duplicated.ppp

Determine Duplicated Points in a Spatial Point Pattern
edit.ppp

Invoke Text Editor on Spatial Data
eem

Exponential Energy Marks
interp.colourmap

Interpolate smoothly between specified colours
interp.im

Interpolate a Pixel Image
invoke.symbolmap

Plot Data Using Graphics Symbol Map
iplot

Point and Click Interface for Displaying Spatial Data
is.marked.ppm

Test Whether A Point Process Model is Marked
linearpcfinhom

Inhomogeneous Linear Pair Correlation Function
localpcf

Local pair correlation function
logLik.dppm

Log Likelihood and AIC for Fitted Determinantal Point Process Model
markcorr

Mark Correlation Function
erosionAny

Morphological Erosion of Windows
fitted.slrm

Fitted Probabilities for Spatial Logistic Regression
dmixpois

Mixed Poisson Distribution
domain

Extract the Domain of any Spatial Object
dppGauss

Gaussian Determinantal Point Process Model
dppMatern

Whittle-Matern Determinantal Point Process Model
eval.fasp

Evaluate Expression Involving Function Arrays
pcfinhom

Inhomogeneous Pair Correlation Function
pcf.fv

Pair Correlation Function obtained from K Function
plot.fasp

Plot a Function Array
pcfmulti

Marked pair correlation function
plot.tess

Plot a tessellation
markcrosscorr

Mark Cross-Correlation Function
marks.tess

Marks of a Tessellation
markstat

Summarise Marks in Every Neighbourhood in a Point Pattern
methods.slrm

Methods for Spatial Logistic Regression Models
methods.kppm

Methods for Cluster Point Process Models
methods.layered

Methods for Layered Objects
methods.lppm

Methods for Fitted Point Process Models on a Linear Network
methods.objsurf

Methods for Objective Function Surfaces
edges

Extract Boundary Edges of a Window.
edges2triangles

List Triangles in a Graph
endpoints.psp

Endpoints of Line Segment Pattern
envelope

Simulation Envelopes of Summary Function
eval.linim

Evaluate Expression Involving Pixel Images on Linear Network
fixef.mppm

Extract Fixed Effects from Point Process Model
formula.fv

Extract or Change the Plot Formula for a Function Value Table
formula.ppm

Model Formulae for Gibbs Point Process Models
gauss.hermite

Gauss-Hermite Quadrature Approximation to Expectation for Normal Distribution
methods.ssf

Methods for Spatially Sampled Functions
quad.object

Class of Quadrature Schemes
nestsplit

Nested Split
nnclean

Nearest Neighbour Clutter Removal
nndist.lpp

Nearest neighbour distances on a linear network
plot.ppm

plot a Fitted Point Process Model
predict.slrm

Predicted or Fitted Values from Spatial Logistic Regression
plot.lpp

Plot Point Pattern on Linear Network
plot.lppm

Plot a Fitted Point Process Model on a Linear Network
ewcdf

Weighted Empirical Cumulative Distribution Function
fardist

Farthest Distance to Boundary of Window
fasp.object

Function Arrays for Spatial Patterns
funxy

Spatial Function Class
plot.ppp

plot a Spatial Point Pattern
predict.ppm

Prediction from a Fitted Point Process Model
plot.symbolmap

Plot a Graphics Symbol Map
pool.quadrattest

Pool Several Quadrat Tests
fv

Create a Function Value Table
gridweights

Compute Quadrature Weights Based on Grid Counts
grow.boxx

Add margins to box in any dimension
hybrid.family

Hybrid Interaction Family
gridcentres

Rectangular grid of points
hist.im

Histogram of Pixel Values in an Image
hopskel

Hopkins-Skellam Test
identify.ppp

Identify Points in a Point Pattern
rmhcontrol

Set Control Parameters for Metropolis-Hastings Algorithm.
predict.rppm

Make Predictions From a Recursively Partitioned Point Process Model
polynom

Polynomial in One or Two Variables
identify.psp

Identify Segments in a Line Segment Pattern
integral.msr

Integral of a Measure
intensity

Intensity of a Dataset or a Model
intensity.ppm

Intensity of Fitted Point Process Model
pool.fv

Pool Several Functions
psstG

Pseudoscore Diagnostic For Fitted Model against Saturation Alternative
quantile.im

Sample Quantiles of Pixel Image
qqplot.ppm

Q-Q Plot of Residuals from Fitted Point Process Model
print.im

Print Brief Details of an Image
hyperframe

Hyper Data Frame
incircle

Find Largest Circle Inside Window
increment.fv

Increments of a Function
inside.boxx

Test Whether Points Are Inside A Multidimensional Box
inside.owin

Test Whether Points Are Inside A Window
intensity.dppm

Intensity of Determinantal Point Process Model
intensity.lpp

Empirical Intensity of Point Pattern on Linear Network
is.dppm

Recognise Fitted Determinantal Point Process Models
is.empty

Test Whether An Object Is Empty
quadrats

Divide Region into Quadrats
reach.dppm

Range of Interaction for a Determinantal Point Process Model
quantile.ewcdf

Quantiles of Weighted Empirical Cumulative Distribution Function
quadratresample

Resample a Point Pattern by Resampling Quadrats
is.lpp

Test Whether An Object Is A Point Pattern on a Linear Network
is.marked

Test Whether Marks Are Present
is.rectangle

Determine Type of Window
is.stationary

Recognise Stationary and Poisson Point Process Models
laslett

Laslett's Transform
latest.news

Print News About Latest Version of Package
linearKcross.inhom

Inhomogeneous multitype K Function (Cross-type) for Linear Point Pattern
linearKdot

Multitype K Function (Dot-type) for Linear Point Pattern
linearpcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-type) for Linear Point Pattern
linearpcfdot

Multitype Pair Correlation Function (Dot-type) for Linear Point Pattern
localK

Neighbourhood density function
localKinhom

Inhomogeneous Neighbourhood Density Function
intensity.ppp

Empirical Intensity of Point Pattern
is.hybrid

Test Whether Object is a Hybrid
is.im

Test Whether An Object Is A Pixel Image
is.multitype.ppp

Test Whether A Point Pattern is Multitype
is.owin

Test Whether An Object Is A Window
is.subset.owin

Determine Whether One Window is Contained In Another
istat

Point and Click Interface for Exploratory Analysis of Point Pattern
marks

Marks of a Point Pattern
marks.psp

Marks of a Line Segment Pattern
matclust.estpcf

Fit the Matern Cluster Point Process by Minimum Contrast Using Pair Correlation
km.rs

Kaplan-Meier and Reduced Sample Estimator using Histograms
kppm

Fit Cluster or Cox Point Process Model
lgcp.estK

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
nndist.pp3

Nearest neighbour distances in three dimensions
objsurf

Objective Function Surface
nnwhich.pp3

Nearest neighbours in three dimensions
is.marked.ppp

Test Whether A Point Pattern is Marked
lgcp.estpcf

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

Mark Connection Function for Multitype Point Pattern on Linear Network
linearmarkequal

Mark Connection Function for Multitype Point Pattern on Linear Network
linequad

Quadrature Scheme on a Linear Network
ranef.mppm

Extract Random Effects from Point Process Model
rescale.im

Convert Pixel Image to Another Unit of Length
rMatClust

Simulate Matern Cluster Process
rLGCP

Simulate Log-Gaussian Cox Process
layered

Create List of Plotting Layers
layerplotargs

Extract or Replace the Plot Arguments of a Layered Object
linearKdot.inhom

Inhomogeneous multitype K Function (Dot-type) for Linear Point Pattern
range.fv

Range of Function Values
rescale

Convert dataset to another unit of length
rmh.ppm

Simulate from a Fitted Point Process Model
rmpoispp

Generate Multitype Poisson Point Pattern
nnwhich.ppx

Nearest Neighbours in Any Dimensions
periodify

Make Periodic Copies of a Spatial Pattern
nvertices

Count Number of Vertices
reduced.sample

Reduced Sample Estimator using Histogram Data
residuals.ppm

Residuals for Fitted Point Process Model
residuals.mppm

Residuals for Point Process Model Fitted to Multiple Point Patterns
rshift.ppp

Randomly Shift a Point Pattern
linfun

Function on a Linear Network
logLik.ppm

Log Likelihood and AIC for Point Process Model
logLik.slrm

Loglikelihood of Spatial Logistic Regression
lppm

Fit Point Process Model to Point Pattern on Linear Network
lurking

Lurking variable plot
setcov

Set Covariance of a Window
rotate.infline

Rotate or Shift Infinite Lines
rmpoint

Generate N Random Multitype Points
rpoisline

Generate Poisson Random Line Process
rotate.im

Rotate a Pixel Image
scaletointerval

Rescale Data to Lie Between Specified Limits
rshift.psp

Randomly Shift a Line Segment Pattern
matchingdist

Distance for a Point Pattern Matching
miplot

Morisita Index Plot
matclust.estK

Fit the Matern Cluster Point Process by Minimum Contrast
methods.funxy

Methods for Spatial Functions
linearKinhom

Inhomogeneous Linear K Function
linearpcf

Linear Pair Correlation Function
linearpcfcross

Multitype Pair Correlation Function (Cross-type) for Linear Point Pattern
logLik.kppm

Log Likelihood and AIC for Fitted Cox or Cluster Point Process Model
methods.fii

Methods for Fitted Interactions
methods.linnet

Methods for Linear Networks
nndensity.ppp

Estimate Intensity of Point Pattern Using Nearest Neighbour Distances
plot.imlist

Plot a List of Images
pairdist.pp3

Pairwise distances in Three Dimensions
pairdist.lpp

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

Extract Pixel Centres as Point Pattern
logLik.mppm

Log Likelihood and AIC for Multiple Point Process Model
lohboot

Bootstrap Confidence Bands for Summary Function
lpp

Create Point Pattern on Linear Network
maxnndist

Compute Minimum or Maximum Nearest-Neighbour Distance
methods.dppm

Methods for Determinantal Point Process Models
mincontrast

Method of Minimum Contrast
matrixpower

Power of a Matrix
mppm

Fit Point Process Model to Several Point Patterns
mergeLevels

Merge Levels of a Factor
model.depends

Identify Covariates Involved in each Model Term
methods.lpp

Methods for Point Patterns on a Linear Network
pairs.im

Scatterplot Matrix for Pixel Images
nnwhich

Nearest neighbour
multiplicity.ppp

Count Multiplicity of Duplicate Points
mean.im

Mean and Median of Pixel Values in an Image
methods.zclustermodel

Methods for Cluster Models
methods.boxx

Methods for Multi-Dimensional Box
methods.linfun

Methods for Functions on Linear Network
pcf

Pair Correlation Function
parres

Partial Residuals for Point Process Model
perimeter

Perimeter Length of Window
plot.solist

Plot a List of Spatial Objects
rpoint

Generate N Random Points
square

Square Window
simulate.lppm

Simulate a Fitted Point Process Model on a Linear Network
msr

Signed or Vector-Valued Measure
pairorient

Point Pair Orientation Distribution
nndist

Nearest neighbour distances
pairs.linim

Scatterplot Matrix for Pixel Images on a Linear Network
methods.box3

Methods for Three-Dimensional Box
methods.rho2hat

Methods for Intensity Functions of Two Spatial Covariates
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
methods.rhohat

Methods for Intensity Functions of Spatial Covariate
nobjects

Count Number of Geometrical Objects in a Spatial Dataset
nnwhich.lpp

Identify Nearest Neighbours on a Linear Network
opening

Morphological Opening
plot.mppm

plot a Fitted Multiple Point Process Model
ord.family

Ord Interaction Process Family
predict.lppm

Predict Point Process Model on Linear Network
pixellate

Convert Spatial Object to Pixel Image
plot.lintess

Plot a Tessellation on a Linear Network
plot.influence.ppm

Plot Influence Measure
plot.listof

Plot a List of Things
plot.slrm

Plot a Fitted Spatial Logistic Regression
scalardilate

Apply Scalar Dilation
simulate.kppm

Simulate a Fitted Cluster Point Process Model
sessionLibs

Print Names and Version Numbers of Libraries Loaded
tiles

Extract List of Tiles in a Tessellation
plot.pp3

Plot a Three-Dimensional Point Pattern
print.owin

Print Brief Details of a Spatial Window
pp3

Three Dimensional Point Pattern
plot.plotppm

Plot a plotppm Object Created by plot.ppm
methods.units

Methods for Units
methods.linim

Methods for Images on a Linear Network
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
midpoints.psp

Midpoints of Line Segment Pattern
nndist.psp

Nearest neighbour distances between line segments
nnfromvertex

Nearest Data Point From Each Vertex in a Network
moribund

Outdated Functions
nndist.ppx

Nearest Neighbour Distances in Any Dimensions
pool

Pool Data
pool.anylist

Pool Data from a List of Objects
rotmean

Rotational Average of a Pixel Image
pool.rat

Pool Data from Several Ratio Objects
npfun

Dummy Function Returns Number of Points
nnfun

Nearest Neighbour Index Map as a Function
owin.object

Class owin
ppm

Fit Point Process Model to Data
pcfcross

Multitype pair correlation function (cross-type)
predict.mppm

Prediction for Fitted Multiple Point Process Model
print.ppm

Print a Fitted Point Process Model
ragsMultiHard

Alternating Gibbs Sampler for Multitype Hard Core Process
roc

Receiver Operating Characteristic
padimage

Pad the Border of a Pixel Image
panel.contour

Panel Plots using Colour Image or Contour Lines
parameters

Extract Model Parameters in Understandable Form
plot.anylist

Plot a List of Things
plot.dppm

Plot a fitted determinantal point process
plot.psp

plot a Spatial Line Segment Pattern
plot.linnet

Plot a linear network
model.matrix.slrm

Extract Design Matrix from Spatial Logistic Regression Model
npoints

Number of Points in a Point Pattern
model.matrix.ppm

Extract Design Matrix from Point Process Model
solapply

Apply a Function Over a List and Obtain a List of Objects
stienen

Stienen Diagram
solist

List of Two-Dimensional Spatial Objects
spokes

Spokes pattern of dummy points
summary.splitppp

Summary of a Split Point Pattern
sumouter

Compute Quadratic Forms
pairdist.default

Pairwise distances
pcfdot.inhom

Inhomogeneous Multitype Pair Correlation Function (Type-i-To-Any-Type)
nncross

Nearest Neighbours Between Two Patterns
rDGS

Perfect Simulation of the Diggle-Gates-Stibbard Process
nnmark

Mark of Nearest Neighbour
plot.quadrattest

Display the result of a quadrat counting test.
plot.bermantest

Plot Result of Berman Test
plot.quadratcount

Plot Quadrat Counts
plot.envelope

Plot a Simulation Envelope
plot.linim

Plot Pixel Image on Linear Network
plot.textstring

Plot a Text String
rCauchy

Simulate Neyman-Scott Point Process with Cauchy cluster kernel
pairdist.psp

Pairwise distances between line segments
plot.hyperframe

Plot Entries in a Hyperframe
pool.envelope

Pool Data from Several Envelopes
pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern
pairwise.family

Pairwise Interaction Process Family
nnorient

Nearest Neighbour Orientation Distribution
nsegments

Number of Line Segments in a Line Segment Pattern
plot.owin

Plot a Spatial Window
pairdist

Pairwise distances
pairsat.family

Saturated Pairwise Interaction Point Process Family
pcfdot

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

Leverage and Influence Measures for Spatial Point Process Model
plot.rppm

Plot a Recursively Partitioned Point Process Model
plot.quad

Plot a Spatial Quadrature Scheme
quadscheme

Generate a Quadrature Scheme from a Point Pattern
plot.texturemap

Plot a Texture Map
quasirandom

Quasirandom Patterns
stratrand

Stratified random point pattern
update.ppm

Update a Fitted Point Process Model
tess

Create a Tessellation
symbolmap

Graphics Symbol Map
tiles.empty

Check For Empty Tiles in a Tessellation
union.quad

Union of Data and Dummy Points
update.rmhcontrol

Update Control Parameters of Metropolis-Hastings Algorithm
unique.ppp

Extract Unique Points from a Spatial Point Pattern
valid.detpointprocfamily

Check Validity of a Determinantal Point Process Model
pseudoR2

Calculate Pseudo-R-Squared for Point Process Model
psib

Sibling Probability of Cluster Point Process
ragsAreaInter

Alternating Gibbs Sampler for Area-Interaction Process
quad.ppm

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

Convert Window to Pixel Image
pcf.ppp

Pair Correlation Function of Point Pattern
plot.im

Plot a Pixel Image
ppm.object

Class of Fitted Point Process Models
pppdist

Distance Between Two Point Patterns
progressreport

Print Progress Reports
project2segment

Move Point To Nearest Line
pixellate.ppp

Convert Point Pattern to Pixel Image
plot.laslett

Plot Laslett Transform
prune.rppm

Prune a Recursively Partitioned Point Process Model
plot.kppm

Plot a fitted cluster point process
plot.ssf

Plot a Spatially Sampled Function
plot.splitppp

Plot a List of Point Patterns
plot.msr

Plot a Signed or Vector-Valued Measure
ppp

Create a Point Pattern
plot.cdftest

Plot a Spatial Distribution Test
pixellate.psp

Convert Line Segment Pattern to Pixel Image
pixelquad

Quadrature Scheme Based on Pixel Grid
plot.leverage.ppm

Plot Leverage Function
pool.fasp

Pool Data from Several Function Arrays
project2set

Find Nearest Point in a Region
ppp.object

Class of Point Patterns
pppmatching.object

Class of Point Matchings
profilepl

Fit Models by Profile Maximum Pseudolikelihood or AIC
rMosaicSet

Mosaic Random Set
pppmatching

Create a Point Matching
psst

Pseudoscore Diagnostic For Fitted Model against General Alternative
psstA

Pseudoscore Diagnostic For Fitted Model against Area-Interaction Alternative
rescale.owin

Convert Window to Another Unit of Length
plot.colourmap

Plot a Colour Map
plot.layered

Layered Plot
plot.onearrow

Plot an Arrow
plot.yardstick

Plot a Yardstick or Scale Bar
plot.scan.test

Plot Result of Scan Test
print.psp

Print Brief Details of a Line Segment Pattern Dataset
ppm.ppp

Fit Point Process Model to Point Pattern Data
points.lpp

Draw Points on Existing Plot
predict.kppm

Prediction from a Fitted Cluster Point Process Model
psp

Create a Line Segment Pattern
predict.dppm

Prediction from a Fitted Determinantal Point Process Model
print.ppp

Print Brief Details of a Point Pattern Dataset
valid.ppm

Check Whether Point Process Model is Valid
vertices

Vertices of a Window
volume

Volume of an Object
rPoissonCluster

Simulate Poisson Cluster Process
rGaussPoisson

Simulate Gauss-Poisson Process
rHardcore

Perfect Simulation of the Hardcore Process
reflect

Reflect In Origin
rQuasi

Generate Quasirandom Point Pattern in Given Window
ppx

Multidimensional Space-Time Point Pattern
reach

Interaction Distance of a Point Process
print.quad

Print a Quadrature Scheme
quadrat.test.splitppp

Dispersion Test of CSR for Split Point Pattern Based on Quadrat Counts
rStrauss

Perfect Simulation of the Strauss Process
rat

Ratio object
quadscheme.logi

Generate a Logistic Regression Quadrature Scheme from a Point Pattern
rSSI

Simulate Simple Sequential Inhibition
rstrat

Simulate Stratified Random Point Pattern
relrisk

Estimate of Spatially-Varying Relative Risk
rex

Richardson Extrapolation
regularpolygon

Create A Regular Polygon
relrisk.ppm

Parametric Estimate of Spatially-Varying Relative Risk
rPenttinen

Perfect Simulation of the Penttinen Process
psp.object

Class of Line Segment Patterns
quadrat.test.mppm

Chi-Squared Test for Multiple Point Process Model Based on Quadrat Counts
quadrat.test

Dispersion Test for Spatial Point Pattern Based on Quadrat Counts
rMaternII

Simulate Matern Model II
rMaternI

Simulate Matern Model I
spatstat-package

The Spatstat Package
rgbim

Create Colour-Valued Pixel Image
rlinegrid

Generate grid of parallel lines with random displacement
superimpose.lpp

Superimpose Several Point Patterns on Linear Network
scanLRTS

Likelihood Ratio Test Statistic for Scan Test
rpoisppOnLines

Generate Poisson Point Pattern on Line Segments
residuals.kppm

Residuals for Fitted Cox or Cluster Point Process Model
raster.x

Cartesian Coordinates for a Pixel Raster
rNeymanScott

Simulate Neyman-Scott Process
rcellnumber

Generate Random Numbers of Points for Cell Process
rDiggleGratton

Perfect Simulation of the Diggle-Gratton Process
rStraussHard

Perfect Simulation of the Strauss-Hardcore Process
relrisk.ppp

Nonparametric Estimate of Spatially-Varying Relative Risk
rmhmodel.list

Define Point Process Model for Metropolis-Hastings Simulation.
rcell

Simulate Baddeley-Silverman Cell Process
rlabel

Random Re-Labelling of Point Pattern
rThomas

Simulate Thomas Process
rescue.rectangle

Convert Window Back To Rectangle
rknn

Theoretical Distribution of Nearest Neighbour Distance
quantess

Quantile Tessellation
relevel.im

Reorder Levels of a Factor-Valued Image or Pattern
rhohat

Smoothing Estimate of Intensity as Function of a Covariate
quadratcount

Quadrat counting for a point pattern
quantile.density

Quantiles of a Density Estimate
rVarGamma

Simulate Neyman-Scott Point Process with Variance Gamma cluster kernel
rMosaicField

Mosaic Random Field
rags

Alternating Gibbs Sampler for Multitype Point Processes
rmhstart

Determine Initial State for Metropolis-Hastings Simulation.
rdpp

Simulation of a Determinantal Point Process
rescale.psp

Convert Line Segment Pattern to Another Unit of Length
requireversion

Require a Specific Version of a Package
rotate.ppp

Rotate a Point Pattern
residuals.dppm

Residuals for Fitted Determinantal Point Process Model
rescale.ppp

Convert Point Pattern to Another Unit of Length
shift.psp

Apply Vector Translation To Line Segment Pattern
rmh.default

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

Simulate point patterns using the Metropolis-Hastings algorithm.
rmhmodel

Define Point Process Model for Metropolis-Hastings Simulation.
rmhexpand

Specify Simulation Window or Expansion Rule
rmhmodel.default

Build Point Process Model for Metropolis-Hastings Simulation.
reload.or.compute

Compute Unless Previously Saved
shift

Apply Vector Translation
ripras

Estimate window from points alone
rlpp

Random Points on a Linear Network
rnoise

Random Pixel Noise
rpoispp

Generate Poisson Point Pattern
rotate.psp

Rotate a Line Segment Pattern
simplify.owin

Approximate a Polygon by a Simpler Polygon
shift.im

Apply Vector Translation To Pixel Image
rpoispp3

Generate Poisson Point Pattern in Three Dimensions
rshift.splitppp

Randomly Shift a List of Point Patterns
summary.ppm

Summarizing a Fitted Point Process Model
rsyst

Simulate systematic random point pattern
round.ppp

Apply Numerical Rounding to Spatial Coordinates
rounding

Detect Numerical Rounding
rpoisppx

Generate Poisson Point Pattern in Any Dimensions
runifpoint3

Generate N Uniform Random Points in Three Dimensions
rtemper

Simulated Annealing or Simulated Tempering for Gibbs Point Processes
selfcut.psp

Cut Line Segments Where They Intersect
simplepanel

Simple Point-and-Click Interface Panels
runifpointOnLines

Generate N Uniform Random Points On Line Segments
subfits

Extract List of Individual Point Process Models
rotate.owin

Rotate a Window
rpoislinetess

Poisson Line Tessellation
rthin

Random Thinning
runifpointx

Generate N Uniform Random Points in Any Dimensions
runifpoint

Generate N Uniform Random Points
selfcrossing.psp

Crossing Points in a Line Segment Pattern
spatstat-internal

Internal spatstat functions
tile.lengths

Compute Lengths of Tiles in a Tessellation on a Network
shift.ppp

Apply Vector Translation To Point Pattern
rho2hat

Smoothed Relative Density of Pairs of Covariate Values
rmhmodel.ppm

Interpret Fitted Model for Metropolis-Hastings Simulation.
thinNetwork

Remove Vertices or Segments from a Linear Network
rjitter

Random Perturbation of a Point Pattern
spatstat-deprecated

Deprecated spatstat functions
rppm

Recursively Partitioned Point Process Model
rotate

Rotate
rose

Rose Diagram
rshift

Random Shift
runiflpp

Uniform Random Points on a Linear Network
rpoislpp

Poisson Point Process on a Linear Network
run.simplepanel

Run Point-and-Click Interface
summary.ppp

Summary of a Point Pattern Dataset
sidelengths.owin

Side Lengths of Enclosing Rectangle of a Window
sdrPredict

Compute Predictors from Sufficient Dimension Reduction
runifdisc

Generate N Uniform Random Points in a Disc
sdr

Sufficient Dimension Reduction
subspaceDistance

Distance Between Linear Spaces
scanpp

Read Point Pattern From Data File
sharpen

Data Sharpening of Point Pattern
simulate.dppm

Simulation of Determinantal Point Process Model
scan.test

Spatial Scan Test
transect.im

Pixel Values Along a Transect
slrm

Spatial Logistic Regression
split.msr

Divide a Measure into Parts
split.im

Divide Image Into Sub-images
simulate.mppm

Simulate a Point Process Model Fitted to Several Point Patterns
summary.im

Summarizing a Pixel Image
zapsmall.im

Rounding of Pixel Values
split.ppp

Divide Point Pattern into Sub-patterns
split.ppx

Divide Multidimensional Point Pattern into Sub-patterns
with.msr

Evaluate Expression Involving Components of a Measure
summary.anylist

Summary of a List of Things
text.ppp

Add Text Labels to Spatial Pattern
summary.owin

Summary of a Spatial Window
texturemap

Texture Map
segregation.test

Test of Spatial Segregation of Types
stieltjes

Compute Integral of Function Against Cumulative Distribution
spatdim

Spatial Dimension of a Dataset
timed

Record the Computation Time
solutionset

Evaluate Logical Expression Involving Pixel Images and Return Region Where Expression is True
summary.psp

Summary of a Line Segment Pattern Dataset
ssf

Spatially Sampled Function
studpermu.test

Studentised Permutation Test
shift.owin

Apply Vector Translation To Window
split.hyperframe

Divide Hyperframe Into Subsets and Reassemble
summary.solist

Summary of a List of Spatial Objects
simulate.slrm

Simulate a Fitted Spatial Logistic Regression Model
tile.areas

Compute Areas of Tiles in a Tessellation
unmark

Remove Marks
unstack.ppp

Separate Multiple Columns of Marks
unitname

Name for Unit of Length
vcov.mppm

Calculate Variance-Covariance Matrix for Fitted Multiple Point Process Model
update.detpointprocfamily

Set Parameter Values in a Determinantal Point Process Model
thomas.estK

Fit the Thomas Point Process by Minimum Contrast
treebranchlabels

Label Vertices of a Tree by Branch Membership
thomas.estpcf

Fit the Thomas Point Process by Minimum Contrast
vcov.kppm

Variance-Covariance Matrix for a Fitted Cluster Point Process Model
with.hyperframe

Evaluate an Expression in Each Row of a Hyperframe
simulate.ppm

Simulate a Fitted Gibbs Point Process Model
spatialcdf

Spatial Cumulative Distribution Function
suffstat

Sufficient Statistic of Point Process Model
update.symbolmap

Update a Graphics Symbol Map.
summary.kppm

Summarizing a Fitted Cox or Cluster Point Process Model
update.kppm

Update a Fitted Cluster Point Process Model
spatstat.options

Internal Options in Spatstat Package
subset.hyperframe

Subset of Hyperframe Satisfying A Condition
subset.ppp

Subset of Point Pattern Satisfying A Condition
zclustermodel

Cluster Point Process Model
unstack.msr

Separate a Vector Measure into its Scalar Components
timeTaken

Extract the Total Computation Time
weighted.median

Weighted Median, Quantiles or Variance
treeprune

Prune Tree to Given Level
where.max

Find Location of Maximum in a Pixel Image
textureplot

Plot Image or Tessellation Using Texture Fill
summary.listof

Summary of a List of Things
tilenames

Names of Tiles in a Tessellation
valid

Check Whether Point Process Model is Valid
vargamma.estK

Fit the Neyman-Scott Cluster Point Process with Variance Gamma kernel
summary.quad

Summarizing a Quadrature Scheme
superimpose

Superimpose Several Geometric Patterns
trim.rectangle

Cut margins from rectangle
tileindex

Determine Which Tile Contains Each Given Point
varblock

Estimate Variance of Summary Statistic by Subdivision
triangulate.owin

Decompose Window into Triangles
triplet.family

Triplet Interaction Family
tweak.colourmap

Change Colour Values in a Colour Map
transmat

Convert Pixel Array Between Different Conventions
update.interact

Update an Interpoint Interaction
vargamma.estpcf

Fit the Neyman-Scott Cluster Point Process with Variance Gamma kernel
with.fv

Evaluate an Expression in a Function Table
will.expand

Test Expansion Rule
unnormdensity

Weighted kernel smoother
vcov.slrm

Variance-Covariance Matrix for a Fitted Spatial Logistic Regression
vcov.ppm

Variance-Covariance Matrix for a Fitted Point Process Model
with.ssf

Evaluate Expression in a Spatially Sampled Function
varcount

Predicted Variance of the Number of Points
whichhalfplane

Test Which Side of Infinite Line a Point Falls On
whist

Weighted Histogram
yardstick

Text, Arrow or Scale Bar in a Diagram