Learn R Programming

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

spatstat (version 1.21-5.1)

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

License

GPL (>= 2)

Maintainer

Adrian Baddeley

Last Published

March 21st, 2011

Functions in spatstat (1.21-5.1)

Extract.fv

Extract Subset of Function Values
Hardcore

The Hard Core Point Process Model
Fiksel

The Fiksel Interaction
Fest

Estimate the empty space function F
affine.psp

Apply Affine Transformation To Line Segment Pattern
Kcross

Multitype K Function (Cross-type)
chorley

Chorley-Ribble Cancer Data
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
Iest

Estimate the I-function
Kest

K-function
affine

Apply Affine Transformation
MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
ants

Harkness-Isham ants' nests data
DiggleGratton

Diggle-Gratton model
Ord

Generic Ord Interaction model
affine.owin

Apply Affine Transformation To Window
clip.infline

Intersect Infinite Straight Lines with a Window
coef.ppm

Coefficients of Fitted Point Process Model
Gfox

Foxall's Distance Functions
as.hyperframe

Convert Data to Hyperframe
Extract.im

Extract Subset of Image
Kinhom

Inhomogeneous K-function
Poisson

Poisson Point Process Model
LennardJones

The Lennard-Jones Potential
Saturated

Saturated Pairwise Interaction model
eem

Exponential Energy Marks
bind.fv

Combine Function Value Tables
cells

Biological Cells Point Pattern
bdist.tiles

Distance to Boundary of Window
colourtools

Convert and Compare Colours in Different Formats
Gdot

Multitype Nearest Neighbour Distance Function (i-to-any)
as.data.frame.psp

Coerce Line Segment Pattern to a Data Frame
Strauss

The Strauss Point Process Model
intersect.owin

Intersection, Union or Set Subtraction of Two Windows
anemones

Beadlet Anemones Data
as.ppp

Convert Data To Class ppp
SatPiece

Piecewise Constant Saturated Pairwise Interaction Point Process Model
convexhull.xy

Convex Hull of Points
affine.ppp

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

Convert Pixel Image to Data Frame
bei

Tropical rain forest trees
bounding.box

Bounding Box of a Window or Point Pattern
coef.slrm

Coefficients of Fitted Spatial Logistic Regression Model
lansing

Lansing Woods Point Pattern
anova.ppm

ANOVA for Fitted Point Process Models
clickppp

Interactively Add Points
crossdist.psp

Pairwise distances between two different line segment patterns
Gcross

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

Diggle-Gates-Stibbard Point Process Model
diameter.box3

Geometrical Calculations for Three-Dimensional Box
Kdot

Multitype K Function (i-to-any)
crossdist.ppx

Pairwise Distances Between Two Different Multi-Dimensional Point Patterns
cut.ppp

Classify Points in a Point Pattern
as.box3

Convert Data to Three-Dimensional Box
Extract.fasp

Extract Subset of Function Array
BadGey

Hybrid Geyer Point Process Model
diagnose.ppm

Diagnostic Plots for Fitted Point Process Model
Kest.fft

K-function using FFT
as.im

Convert to Pixel Image
K3est

K-function of a Three-Dimensional Point Pattern
distmap.owin

Distance Map of Window
Extract.quad

Subset of Quadrature Scheme
Extract.msr

Extract Subset of Signed or Vector Measure
as.data.frame.ppp

Coerce Point Pattern to a Data Frame
dirichlet.weights

Compute Quadrature Weights Based on Dirichlet Tessellation
Jest

Estimate the J-function
G3est

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

Ord's Interaction model
Jmulti

Marked J Function
Lcross.inhom

Inhomogeneous Cross Type L Function
compatible.fasp

Test Whether Two Function Arrays Are Compatible
by.ppp

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

Spherical Contact Distribution Function
allstats

Calculate four standard summary functions of a point pattern.
colourmap

Colour Lookup Tables
default.rmhcontrol

Set Default Control Parameters for Metropolis-Hastings Algorithm.
Gmulti

Marked Nearest Neighbour Distance Function
markcorrint

Mark Correlation Integral
blur

Apply Gaussian Blur to a Pixel Image
discretise

Safely Convert Point Pattern Window to Binary Mask
Extract.ppp

Extract or Replace Subset of Point Pattern
crossdist.default

Pairwise distances between two different sets of points
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
deltametric

Delta Metric
diameter

Diameter of an Object
pairs.im

Scatterplot Matrix for Pixel Images
areaLoss

Difference of Disc Areas
disc

Circular Window
distmap.ppp

Distance Map of Point Pattern
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
bdist.pixels

Distance to Boundary of Window
pcfcross

Multitype pair correlation function (cross-type)
border

Border Region of a Window
as.psp

Convert Data To Class psp
Ldot

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

Create a Function Value Table
dummy.ppm

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

Pairwise distances between two different point patterns
hamster

Aherne's hamster tumour data
eval.im

Evaluate Expression Involving Pixel Images
demopat

Artificial Data Point Pattern
duplicated.ppp

Determine Duplicated Points in a Spatial Point Pattern
identify.ppp

Identify Points in a Point Pattern
closing

Morphological Closing
is.im

Test Whether An Object Is A Pixel Image
fv.object

Data Frames of Function Values
concatxy

Concatenate x,y Coordinate Vectors
dilation

Morphological Dilation
bronzefilter

Bronze gradient filter data
effectfun

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

Locally Scaled K-function
diameter.owin

Diameter of a Window
plot.psp

plot a Spatial Line Segment Pattern
anova.slrm

Analysis of Deviance for Spatial Logistic Regression Models
im.object

Class of Images
pp3

Three Dimensional Point Pattern
inside.owin

Test Whether Points Are Inside A Window
eval.fv

Evaluate Expression Involving Functions
erosion

Morphological Erosion
identify.psp

Identify Segments in a Line Segment Pattern
japanesepines

Japanese Pines Point Pattern
dilated.areas

Areas of Morphological Dilations
collapse.fv

Collapse Several Function Tables into One
interp.im

Interpolate a Pixel Image
fitted.slrm

Fitted Probabilities for Spatial Logistic Regression
spatstat-internal

Internal spatstat functions
MultiStrauss

The Multitype Strauss Point Process Model
integral.im

Integral of a Pixel Image
as.rectangle

Window Frame
connected

Connected components of an image or window
Kcross.inhom

Inhomogeneous Cross K Function
is.multitype.ppp

Test Whether A Point Pattern is Multitype
is.ppp

Test Whether An Object Is A Point Pattern
compatible.im

Test Whether Two Pixel Images Are Compatible
is.empty

Test Whether An Object Is Empty
Lcross

Multitype L-function (cross-type)
betacells

Beta Ganglion Cells in Cat Retina
is.subset.owin

Determine Whether One Window is Contained In Another
km.rs

Kaplan-Meier and Reduced Sample Estimator using Histograms
Kdot.inhom

Inhomogeneous Multitype K Dot Function
area.owin

Area of a Window
Ldot.inhom

Inhomogeneous Multitype L Dot Function
chop.tess

Subdivide a Window or Tessellation using a Set of Lines
lgcp.estpcf

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

Methods for three-dimensional point patterns
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
as.mask

Pixel Image Approximation of a Window
Pairwise

Generic Pairwise Interaction model
bounding.box.xy

Convex Hull of Points
Extract.psp

Extract Subset of Line Segment Pattern
is.marked

Test Whether Marks Are Present
copper

Berman-Huntington points and lines data
Lest

L-function
kstest.ppm

Kolmogorov-Smirnov Test for Point Process Model
expand.owin

Expand Window By Factor
letterR

Window in Shape of Letter R
npoints

Number of Points in a Point Pattern
nndist.pp3

Nearest neighbour distances in three dimensions
pcfdot.inhom

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

Create a Point Pattern
crossdist.pp3

Pairwise distances between two different three-dimensional point patterns
gridweights

Compute Quadrature Weights Based on Grid Counts
logLik.slrm

Loglikelihood of Spatial Logistic Regression
amacrine

Hughes' Amacrine Cell Data
markstat

Summarise Marks in Every Neighbourhood in a Point Pattern
model.frame.ppm

Extract the Environment of a Point Process Model
logLik.ppm

Log Likelihood for Poisson Point Process Model
owin

Create a Window
midpoints.psp

Midpoints of Line Segment Pattern
nnwhich.pp3

Nearest neighbours in three dimensions
markconnect

Mark Connection Function
mincontrast

Method of Minimum Contrast
osteo

Osteocyte Lacunae Data: Replicated Three-Dimensional Point Patterns
rmhcontrol

Set Control Parameters for Metropolis-Hastings Algorithm.
nztrees

New Zealand Trees Point Pattern
humberside

Humberside Data on Childhood Leukaemia and Lymphoma
as.polygonal

Convert a Window to a Polygonal Window
is.marked.ppm

Test Whether A Point Process Model is Marked
density.ppp

Kernel Smoothed Intensity of Point Pattern
is.multitype.ppm

Test Whether A Point Process Model is Multitype
predict.ppm

Prediction from a Fitted Point Process Model
bermantest

Berman's Tests for Point Process Model
harmonic

Basis for Harmonic Functions
mean.im

Maximum, Minimum, Mean, Median, Range or Sum of Pixel Values in an Image
ppp.object

Class of Point Patterns
periodify

Make Periodic Copies of a Spatial Pattern
lut

Lookup Tables
im

Create a Pixel Image Object
clarkevans

Clark and Evans Aggregation Index
pairdist.ppp

Pairwise distances
methods.distfun

Methods for Distance Functions
opening

Morphological Opening
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
hyperframe

Hyper Data Frame
rpoispp

Generate Poisson Point Pattern
inforder.family

Infinite Order Interaction Family
levelset

Level Set of a Pixel Image
pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern
Softcore

The Soft Core Point Process Model
relrisk

Nonparametric Estimate of Spatially-Varying Relative Risk
plot.owin

Plot a Spatial Window
rmh.ppm

Simulate from a Fitted Point Process Model
pointsOnLines

Place Points Evenly Along Specified Lines
matchingdist

Distance for a Point Pattern Matching
infline

Infinite Straight Lines
nncross

Nearest Neighbours Between Two Patterns
bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation
ord.family

Ord Interaction Process Family
pixellate.owin

Convert Window to Pixel Image
pairdist.pp3

Pairwise distances in Three Dimensions
clickpoly

Interactively Define a Polygon
spatstat-deprecated

Deprecated spatstat functions
nbfires

Point Patterns of New Brunswick Forest Fires
ripras

Estimate window from points alone
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
dirichlet

Dirichlet Tessellation of Point Pattern
psp

Create a Line Segment Pattern
pixellate

Convert Spatial Object to Pixel Image
eroded.areas

Areas of Morphological Erosions
as.data.frame.hyperframe

Coerce Hyperframe to Data Frame
rshift.ppp

Randomly Shift a Point Pattern
rmhmodel.list

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

Fitted Conditional Intensity for Point Process Model
convexhull

Convex Hull
discpartarea

Area of Part of Disc
distfun

Distance Map as a Function
pairwise.family

Pairwise Interaction Process Family
pairdist

Pairwise distances
istat

Point and Click Interface for Exploratory Analysis of Point Pattern
pixellate.ppp

Convert Point Pattern to Pixel Image
compatible.fv

Test Whether Two Function Objects Are Compatible
pppmatching.object

Class of Point Matchings
plot.splitppp

Plot a List of Point Patterns
pairdist.default

Pairwise distances
predict.kppm

Prediction from a Fitted Cluster Point Process Model
ganglia

Beta Ganglion Cells in Cat Retina, Old Version
setcov

Set Covariance of a Window
lurking

Lurking variable plot
eval.fasp

Evaluate Expression Involving Function Arrays
longleaf

Longleaf Pines Point Pattern
plot.tess

Plot a tessellation
is.multitype

Test whether Object is Multitype
quad.object

Class of Quadrature Schemes
plot.hyperframe

Plot Entries in a Hyperframe
rMosaicSet

Mosaic Random Set
persp.im

Perspective Plot of Pixel Image
ppm.object

Class of Fitted Point Process Models
rmhstart

Determine Initial State for Metropolis-Hastings Simulation.
plot.listof

Plot a List of Things
quad.ppm

Extract Quadrature Scheme Used to Fit a Point Process Model
runifpointx

Generate N Uniform Random Points in Any Dimensions
rStrauss

Perfect Simulation of the Strauss Process
rNeymanScott

Simulate Neyman-Scott Process
progressreport

Print Progress Reports
quadscheme

Generate a Quadrature Scheme from a Point Pattern
is.owin

Test Whether An Object Is A Window
quadratcount

Quadrat counting for a point pattern
rpoisline

Generate Poisson Random Line Process
quantile.im

Sample Quantiles of Pixel Image
rmpoint

Generate N Random Multitype Points
plot.envelope

Plot a Simulation Envelope
pcfdot

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

Signed or Vector-Valued Measure
rotate.owin

Rotate a Window
contour.im

Contour plot of pixel image
lgcp.estK

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

Local pair correlation function
solutionset

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

Simulate Matern Cluster Process
plot.fv

Plot Function Values
rjitter

Random Perturbation of a Point Pattern
cbind.hyperframe

Combine Hyperframes by Rows or by Columns
summary.listof

Summary of a List of Things
superimposePSP

Superimpose Several Line Segment Patterns
shift.psp

Apply Vector Translation To Line Segment Pattern
nnclean

Nearest Neighbour Clutter Removal
pairdist.ppx

Pairwise Distances in Any Dimensions
suffstat

Sufficient Statistic of Point Process Model
reduced.sample

Reduced Sample Estimator using Histogram Data
rescale.im

Convert Pixel Image to Another Unit of Length
spatstat.options

Internal Options in Spatstat Package
swedishpines

Swedish Pines Point Pattern
summary.quad

Summarizing a Quadrature Scheme
rescale

Convert dataset to another unit of length
crossing.psp

Crossing Points of Two Line Segment Patterns
residualspaper

Data and Code From JRSS Discussion Paper on Residuals
rmh

Simulate point patterns using the Metropolis-Hastings algorithm.
redwoodfull

California Redwoods Point Pattern (Entire Dataset)
print.owin

Print Brief Details of a Spatial Window
miplot

Morishita Index Plot
plot.kstest

Plot a Spatial Kolmogorov-Smirnov Test
nearestsegment

Find Line Segment Nearest to Each Point
pixelquad

Quadrature Scheme Based on Pixel Grid
endpoints.psp

Endpoints of Line Segment Pattern
markvario

Mark Variogram
ppx

Multidimensional Space-Time Point Pattern
nndist.psp

Nearest neighbour distances between line segments
localK

Neighbourhood density function
tile.areas

Compute Areas of Tiles in a Tessellation
plot.plotppm

Plot a plotppm Object Created by plot.ppm
simulate.ppm

Simulate a Fitted Gibbs Point Process Model
fitin.ppm

Extract the Interaction from a Fitted Point Process Model
rThomas

Simulate Thomas Process
rknn

Theoretical Distribution of Nearest Neighbour Distance
pcf.fv

Pair Correlation Function obtained from K Function
plot.quad

plot a Spatial Quadrature Scheme
print.ppm

Print a Fitted Point Process Model
rMaternII

Simulate Matern Model II
unmark

Remove Marks
heather

Diggle's Heather Data
volume

Volume of an Object
rotate.ppp

Rotate a Point Pattern
intersect.tess

Intersection of Two Tessellations
pairdist.psp

Pairwise distances between line segments
rlinegrid

Generate grid of parallel lines with random displacement
quadrat.test.splitppp

Chi-Squared Test of CSR for Split Point Pattern
rshift

Random Shift
spatstat-package

The Spatstat Package
runifpointOnLines

Generate N Uniform Random Points On Line Segments
predict.slrm

Predicted or Fitted Values from Spatial Logistic Regression
ppm

Fit Point Process Model to Data
rotate

Rotate
runifpoint3

Generate N Uniform Random Points in Three Dimensions
quadratresample

Resample a Point Pattern by Resampling Quadrats
tiles

Extract List of Tiles in a Tessellation
shift.owin

Apply Vector Translation To Window
redwood

California Redwoods Point Pattern (Ripley's Subset)
smooth.fv

Apply Smoothing to Function Values
spruces

Spruces Point Pattern
tess

Create a Tessellation
summary.splitppp

Summary of a Split Point Pattern
rescale.psp

Convert Line Segment Pattern to Another Unit of Length
rpoint

Generate N Random Points
vertices

Vertices of a Window
plot.slrm

Plot a Fitted Spatial Logistic Regression
urkiola

Urkiola Woods Point Pattern
rotate.psp

Rotate a Line Segment Pattern
superimpose

Superimpose Several Point Patterns
update.kppm

Update a Fitted Cluster Point Process Model
rmpoispp

Generate Multitype Poisson Point Pattern
rcell

Simulate Baddeley-Silverman Cell Process
is.convex

Test Whether a Window is Convex
trim.rectangle

Cut margins from rectangle
print.psp

Print Brief Details of a Line Segment Pattern Dataset
rmh.default

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

Define Point Process Model for Metropolis-Hastings Simulation.
union.quad

Union of Data and Dummy Points
rpoisppOnLines

Generate Poisson Point Pattern on Line Segments
rshift.splitppp

Randomly Shift a List of Point Patterns
with.hyperframe

Evaluate an Expression in Each Row of a Hyperframe
print.ppp

Print Brief Details of a Point Pattern Dataset
is.ppm

Test Whether An Object Is A Fitted Point Process Model
rmhmodel.default

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

Convert Data To Class owin
Extract.listof

Extract or Replace Subset of a List of Things
scanpp

Read Point Pattern From Data File
MultiHard

The Multitype Hard Core Point Process Model
marktable

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

Empty Space Function of a Three-Dimensional Point Pattern
square

Square Window
rMosaicField

Mosaic Random Field
by.im

Apply Function to Image Broken Down by Factor
Gest

Nearest Neighbour Distance Function G
adaptive.density

Intensity Estimate of Point Pattern Using Tessellation
methods.ppx

Methods for Multidimensional Space-Time Point Patterns
Kmulti

Marked K-Function
murchison

Murchison gold deposits
rpoisppx

Generate Poisson Point Pattern in Any Dimensions
stieltjes

Compute Integral of Function Against Cumulative Distribution
rsyst

Simulate systematic random point pattern
smooth.msr

Smooth a Signed or Vector-Valued Measure
areaGain

Difference of Disc Areas
unique.ppp

Extract Unique Points from a Spatial Point Pattern
summary.ppm

Summarizing a Fitted Point Process Model
centroid.owin

Centroid of a window
split.im

Divide Image Into Sub-images
which.max.im

Identify Pixelwise Maximum of Several Pixel Images
markcorr

Mark Correlation Function
summary.owin

Summary of a Spatial Window
rstrat

Simulate Stratified Random Point Pattern
vcov.ppm

Variance-Covariance Matrix for a Fitted Point Process Model
pcf

Pair Correlation Function
shift.im

Apply Vector Translation To Pixel Image
selfcrossing.psp

Crossing Points in a Line Segment Pattern
simdat

Simulated Point Pattern
bw.stoyan

Stoyan's Rule of Thumb for Bandwidth Selection
profilepl

Profile Maximum Pseudolikelihood
clarkevans.test

Clark and Evans Test
fryplot

Fry Plot of Point Pattern
default.expand

Compute Expansion Window for Simulation
default.dummy

Generate a Default Pattern of Dummy Points
simplify.owin

Approximate a Polygon by a Simpler Polygon
crossdist

Pairwise distances
gridcentres

Rectangular grid of points
rescue.rectangle

Convert Window Back To Rectangle
incircle

Find Largest Circle Inside Window
rlabel

Random Re-Labelling of Point Pattern
density.psp

Kernel Smoothing of Line Segment Pattern
iplot

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

Summary of a Line Segment Pattern Dataset
nnwhich.ppx

Nearest Neighbours in Any Dimensions
unitname

Name for Unit of Length
ewcdf

Weighted Empirical Cumulative Distribution Function
data.ppm

Extract Original Data from a Fitted Point Process Model
gpc2owin

Convert Polygonal Region into Different Format
latest.news

Print News About Latest Version of Package
multiplicity.ppp

Count Multiplicity of Duplicate Points
lengths.psp

Lengths of Line Segments
update.ppm

Update a Fitted Point Process Model
marks

Marks of a Point Pattern
model.images

Compute Images of Constructed Covariates
matclust.estK

Fit the Matern Cluster Point Process by Minimum Contrast
nnwhich

Nearest neighbour
varblock

Estimate Variance of Summary Statistic by Subdivision
AreaInter

The Area Interaction Point Process Model
Extract.tess

Extract or Replace Subset of Tessellation
Kmeasure

Reduced Second Moment Measure
pcfinhom

Inhomogeneous Pair Correlation Function
Linhom

L-function
pixellate.psp

Convert Line Segment Pattern to Pixel Image
print.im

Print Brief Details of an Image
plot.bermantest

Plot Result of Berman Test
ponderosa

Ponderosa Pine Tree Point Pattern
as.mask.psp

Convert Line Segment Pattern to Binary Pixel Mask
rGaussPoisson

Simulate Gauss-Poisson Process
qqplot.ppm

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

Three-Dimensional Box
bramblecanes

Hutchings' Bramble Canes data
boxx

Multi-Dimensional Box
runifdisc

Generate N Uniform Random Points in a Disc
rescale.ppp

Convert Point Pattern to Another Unit of Length
delaunay

Delaunay Triangulation of Point Pattern
shapley

Galaxies in the Shapley Supercluster
slrm

Spatial Logistic Regression
rpoispp3

Generate Poisson Point Pattern in Three Dimensions
smooth.ppp

Spatial smoothing of observations at irregular points
envelope

Simulation Envelopes of Summary Function
summary.ppp

Summary of a Point Pattern Dataset
with.fv

Evaluate an Expression in a Function Table
finpines

Pine saplings in Finland.
fasp.object

Function Arrays for Spatial Patterns
shift.ppp

Apply Vector Translation To Point Pattern
kppm

Fit cluster point process model
sharpen

Data Sharpening of Point Pattern
thomas.estK

Fit the Thomas Point Process by Minimum Contrast
methods.boxx

Methods for Multi-Dimensional Box
nndist.ppx

Nearest Neighbour Distances in Any Dimensions
pairsat.family

Saturated Pairwise Interaction Point Process Family
perimeter

Perimeter Length of Window
plot.fasp

Plot a Function Array
plot.msr

Plot a Signed or Vector-Valued Measure
plot.pp3

Plot a three-dimensional point pattern
plot.ppp

plot a Spatial Point Pattern
rMaternI

Simulate Matern Model I
rmhmodel.ppm

Interpret Fitted Model for Metropolis-Hastings Simulation.
spokes

Spokes pattern of dummy points
Emark

Diagnostics for random marking
Jdot

Multitype J Function (i-to-any)
Jcross

Multitype J Function (i-to-j)
Replace.im

Reset Values in Subset of Image
StraussHard

The Strauss / Hard Core Point Process Model
applynbd

Apply Function to Every Neighbourhood in a Point Pattern
angles.psp

Orientation Angles of Line Segments
bdist.points

Distance to Boundary of Window
coords

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

Corners of a rectangle
diameter.boxx

Geometrical Calculations for Multi-Dimensional Box
distmap.psp

Distance Map of Line Segment Pattern
hist.im

Histogram of Pixel Values in an Image
is.marked.ppp

Test Whether A Point Pattern is Marked
Geyer

Geyer's Saturation Point Process Model
nearest.raster.point

Find Pixel Nearest to a Given Point
Extract.splitppp

Extract or Replace Sub-Patterns
append.psp

Combine Two Line Segment Patterns
as.matrix.im

Convert Pixel Image to Matrix or Array
as.hyperframe.ppx

Extract coordinates and marks of multidimensional point pattern
complement.owin

Take Complement of a Window
cut.im

Convert Pixel Image from Numeric to Factor
plot.ppm

plot a Fitted Point Process Model
as.tess

Convert Data To Tessellation
distmap

Distance Map
alltypes

Calculate Summary Statistic for All Types in a Multitype Point Pattern
owin.object

Class owin
reach

Interaction Distance of a Point Process
matclust.estpcf

Fit the Matern Cluster Point Process by Minimum Contrast Using Pair Correlation
methods.box3

Methods for Three-Dimensional Box
rescale.owin

Convert Window to Another Unit of Length
residuals.ppm

Residuals for Fitted Point Process Model
pcf.fasp

Pair Correlation Function obtained from array of K functions
pcf.ppp

Pair Correlation Function of Point Pattern
model.matrix.ppm

Extract Design Matrix from Point Process Model
nndist

Nearest neighbour distances
plot.colourmap

Plot a Colour Map
plot.kppm

Plot a fitted cluster point process
project2segment

Move Point To Nearest Line
plot.im

Plot a Pixel Image
psp.object

Class of Line Segment Patterns
pppdist

Distance Between Two Point Patterns
runifpoint

Generate N Uniform Random Points
split.ppp

Divide Point Pattern into Sub-patterns
print.quad

Print a Quadrature Scheme
quadrats

Divide Region into Quadrats
thomas.estpcf

Fit the Thomas Point Process by Minimum Contrast
pppmatching

Create a Point Matching
raster.x

Cartesian Coordinates for a Pixel Raster
rhohat

Smoothing Estimate of Covariate Transformation
quadrat.test

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

Simulate Simple Sequential Inhibition
rshift.psp

Randomly Shift a Line Segment Pattern
summary.im

Summarizing a Pixel Image
rpoislinetess

Poisson Line Tessellation
rthin

Random Thinning
shift

Apply Vector Translation
simulate.kppm

Simulate a Fitted Cluster Point Process Model
whist

Weighted Histogram