Learn R Programming

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

spatstat (version 1.23-4)

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

Description

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

Copy Link

Version

Install

install.packages('spatstat')

Monthly Downloads

16,590

Version

1.23-4

License

GPL (>= 2)

Maintainer

Adrian Baddeley

Last Published

September 9th, 2011

Functions in spatstat (1.23-4)

spatstat.options

Internal Options in Spatstat Package
thomas.estpcf

Fit the Thomas Point Process by Minimum Contrast
with.fv

Evaluate an Expression in a Function Table
solutionset

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

Spruces Point Pattern
summary.listof

Summary of a List of Things
sumouter

Compute Quadratic Forms
thomas.estK

Fit the Thomas Point Process by Minimum Contrast
vcov.kppm

Variance-Covariance Matrix for a Fitted Cluster Point Process Model
smooth.msr

Smooth a Signed or Vector-Valued Measure
vcov.ppm

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

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

The Spatstat Package
varblock

Estimate Variance of Summary Statistic by Subdivision
Hardcore

The Hard Core Point Process Model
BadGey

Hybrid Geyer Point Process Model
summary.ppp

Summary of a Point Pattern Dataset
Jest

Estimate the J-function
G3est

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

Volume of an Object
as.im

Convert to Pixel Image
StraussHard

The Strauss / Hard Core Point Process Model
split.ppp

Divide Point Pattern into Sub-patterns
as.mask.psp

Convert Line Segment Pattern to Binary Pixel Mask
F3est

Empty Space Function of a Three-Dimensional Point Pattern
rcell

Simulate Baddeley-Silverman Cell Process
clickppp

Interactively Add Points
DiggleGratton

Diggle-Gratton model
as.rectangle

Window Frame
Kcom

Model Compensator of K Function
coef.slrm

Coefficients of Fitted Spatial Logistic Regression Model
bramblecanes

Hutchings' Bramble Canes data
superimpose

Superimpose Several Geometric Patterns
Poisson

Poisson Point Process Model
affine.ppp

Apply Affine Transformation To Point Pattern
angles.psp

Orientation Angles of Line Segments
summary.ppm

Summarizing a Fitted Point Process Model
dilation

Morphological Dilation
Kmodel

K function of a model
colourtools

Convert and Compare Colours in Different Formats
Emark

Diagnostics for random marking
Kdot

Multitype K Function (i-to-any)
Kdot.inhom

Inhomogeneous Multitype K Dot Function
compatible.fv

Test Whether Two Function Objects Are Compatible
chicago

Chicago Street Crime Data
Lest

L-function
as.matrix.im

Convert Pixel Image to Matrix or Array
amacrine

Hughes' Amacrine Cell Data
distmap.psp

Distance Map of Line Segment Pattern
envelope.lpp

Envelope for Point Patterns on Linear Network
affine

Apply Affine Transformation
tiles

Extract List of Tiles in a Tessellation
crossdist.pp3

Pairwise distances between two different three-dimensional point patterns
is.im

Test Whether An Object Is A Pixel Image
as.function.fv

Convert Function Value Table to Function
ants

Harkness-Isham ants' nests data
fitted.ppm

Fitted Conditional Intensity for Point Process Model
by.im

Apply Function to Image Broken Down by Factor
collapse.fv

Collapse Several Function Tables into One
bind.fv

Combine Function Value Tables
crossdist.psp

Pairwise distances between two different line segment patterns
data.ppm

Extract Original Data from a Fitted Point Process Model
intersect.owin

Intersection, Union or Set Subtraction of Two Windows
as.polygonal

Convert a Window to a Polygonal Window
as.box3

Convert Data to Three-Dimensional Box
as.tess

Convert Data To Tessellation
diameter

Diameter of an Object
affine.owin

Apply Affine Transformation To Window
lineardisc

Compute Disc of Given Radius in Linear Network
Kscaled

Locally Scaled K-function
trim.rectangle

Cut margins from rectangle
centroid.owin

Centroid of a window
Ldot.inhom

Inhomogeneous Multitype L Dot Function
copper

Berman-Huntington points and lines data
smooth.ppp

Spatial smoothing of observations at irregular points
crossdist.default

Pairwise distances between two different sets of points
lengths.psp

Lengths of Line Segments
kstest.ppm

Kolmogorov-Smirnov Test for Point Process Model
urkiola

Urkiola Woods Point Pattern
Geyer

Geyer's Saturation Point Process Model
eval.fasp

Evaluate Expression Involving Function Arrays
effectfun

Compute Fitted Effect of a Spatial Covariate in a Point Process Model
is.ppp

Test Whether An Object Is A Point Pattern
markvario

Mark Variogram
spokes

Spokes pattern of dummy points
Fest

Estimate the empty space function F
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
pairwise.family

Pairwise Interaction Process Family
Jdot

Multitype J Function (i-to-any)
applynbd

Apply Function to Every Neighbourhood in a Point Pattern
suffstat

Sufficient Statistic of Point Process Model
nbfires

Point Patterns of New Brunswick Forest Fires
fasp.object

Function Arrays for Spatial Patterns
vertices

Vertices of a Window
K3est

K-function of a Three-Dimensional Point Pattern
methods.rhohat

Methods for Intensity Functions of Spatial Covariate
crossdist

Pairwise distances
convexhull.xy

Convex Hull of Points
OrdThresh

Ord's Interaction model
area.owin

Area of a Window
owin

Create a Window
density.ppp

Kernel Smoothed Intensity of Point Pattern
pairdist.lpp

Pairwise shortest-path distances between points on a linear network
spatstat-internal

Internal spatstat functions
stieltjes

Compute Integral of Function Against Cumulative Distribution
diagnose.ppm

Diagnostic Plots for Fitted Point Process Model
rstrat

Simulate Stratified Random Point Pattern
cut.im

Convert Pixel Image from Numeric to Factor
bermantest

Berman's Tests for Point Process Model
inside.owin

Test Whether Points Are Inside A Window
is.owin

Test Whether An Object Is A Window
flipxy

Exchange X and Y Coordinates
matclust.estpcf

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

Methods for Three-Dimensional Box
infline

Infinite Straight Lines
is.marked.ppm

Test Whether A Point Process Model is Marked
pairs.im

Scatterplot Matrix for Pixel Images
delaunay

Delaunay Triangulation of Point Pattern
owin.object

Class owin
identify.psp

Identify Segments in a Line Segment Pattern
as.data.frame.hyperframe

Coerce Hyperframe to Data Frame
idw

Inverse-distance weighted smoothing of observations at irregular points
dilated.areas

Areas of Morphological Dilations
persp.im

Perspective Plot of Pixel Image
chop.tess

Subdivide a Window or Tessellation using a Set of Lines
runiflpp

Uniform Random Points on a Linear Network
anova.lppm

ANOVA for Fitted Point Process Models on Linear Network
rhohat

Smoothing Estimate of Covariate Transformation
psst

Pseudoscore Diagnostic For Fitted Model against General Alternative
zapsmall.im

Rounding of Pixel Values
simulate.ppm

Simulate a Fitted Gibbs Point Process Model
rmhcontrol

Set Control Parameters for Metropolis-Hastings Algorithm.
is.marked

Test Whether Marks Are Present
istat

Point and Click Interface for Exploratory Analysis of Point Pattern
interp.im

Interpolate a Pixel Image
nndist.pp3

Nearest neighbour distances in three dimensions
bounding.box.xy

Convex Hull of Points
ppm

Fit Point Process Model to Data
hist.im

Histogram of Pixel Values in an Image
localpcf

Local pair correlation function
diameter.boxx

Geometrical Calculations for Multi-Dimensional Box
erosion

Morphological Erosion
alltypes

Calculate Summary Statistic for All Types in a Multitype Point Pattern
unique.ppp

Extract Unique Points from a Spatial Point Pattern
ppp

Create a Point Pattern
predict.kppm

Prediction from a Fitted Cluster Point Process Model
smooth.fv

Apply Smoothing to Function Values
linim

Create Pixel Image on Linear Network
LennardJones

The Lennard-Jones Potential
lpp

Create Point Pattern on Linear Network
Kmulti

Marked K-Function
nndist.ppx

Nearest Neighbour Distances in Any Dimensions
methods.distfun

Methods for Distance Functions
rshift.ppp

Randomly Shift a Point Pattern
letterR

Window in Shape of Letter R
pp3

Three Dimensional Point Pattern
plot.tess

Plot a tessellation
pixellate.ppp

Convert Point Pattern to Pixel Image
rMaternII

Simulate Matern Model II
rmh.default

Simulate Point Process Models using the Metropolis-Hastings Algorithm.
affine.psp

Apply Affine Transformation To Line Segment Pattern
nearest.raster.point

Find Pixel Nearest to a Given Point
nsegments

Number of Line Segments in a Line Segment Pattern
levelset

Level Set of a Pixel Image
plot.msr

Plot a Signed or Vector-Valued Measure
rGaussPoisson

Simulate Gauss-Poisson Process
rmhmodel

Define Point Process Model for Metropolis-Hastings Simulation.
nndist

Nearest neighbour distances
predict.ppm

Prediction from a Fitted Point Process Model
pcf.fasp

Pair Correlation Function obtained from array of K functions
Extract.msr

Extract Subset of Signed or Vector Measure
fitted.slrm

Fitted Probabilities for Spatial Logistic Regression
DiggleGatesStibbard

Diggle-Gates-Stibbard Point Process Model
opening

Morphological Opening
print.owin

Print Brief Details of a Spatial Window
nearestsegment

Find Line Segment Nearest to Each Point
project2segment

Move Point To Nearest Line
as.ppp

Convert Data To Class ppp
box3

Three-Dimensional Box
profilepl

Profile Maximum Pseudolikelihood
midpoints.psp

Midpoints of Line Segment Pattern
quadratresample

Resample a Point Pattern by Resampling Quadrats
simplenet

Simple Example of Linear Network
Hest

Spherical Contact Distribution Function
simplify.owin

Approximate a Polygon by a Simpler Polygon
runifdisc

Generate N Uniform Random Points in a Disc
osteo

Osteocyte Lacunae Data: Replicated Three-Dimensional Point Patterns
Extract.ppp

Extract or Replace Subset of Point Pattern
as.hyperframe

Convert Data to Hyperframe
simdat

Simulated Point Pattern
as.mask

Pixel Image Approximation of a Window
closing

Morphological Closing
nztrees

New Zealand Trees Point Pattern
pcf.fv

Pair Correlation Function obtained from K Function
bw.smoothppp

Cross Validated Bandwidth Selection for Spatial Smoothing
plot.layered

Layered Plot
summary.quad

Summarizing a Quadrature Scheme
as.data.frame.ppp

Coerce Point Pattern to a Data Frame
quadrat.test.splitppp

Chi-Squared Test of CSR for Split Point Pattern
Linhom

L-function
plot.linnet

Plot a linear network
circumradius

Circumradius and Diameter of a Linear Network
fv

Create a Function Value Table
plot.ppp

plot a Spatial Point Pattern
colourmap

Colour Lookup Tables
as.hyperframe.ppx

Extract coordinates and marks of multidimensional point pattern
contour.im

Contour plot of pixel image
plot.bermantest

Plot Result of Berman Test
plot.ppm

plot a Fitted Point Process Model
periodify

Make Periodic Copies of a Spatial Pattern
coords

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

Rescale Data to Lie Between Specified Limits
expand.owin

Expand Window By Factor
bounding.box

Bounding Box of a Window or Point Pattern
pppmatching.object

Class of Point Matchings
clickpoly

Interactively Define a Polygon
ewcdf

Weighted Empirical Cumulative Distribution Function
cells

Biological Cells Point Pattern
complement.owin

Take Complement of a Window
plot.pp3

Plot a three-dimensional point pattern
gpc2owin

Convert Polygonal Region into Different Format
kppm

Fit Cluster or Cox Point Process Model
rmh

Simulate point patterns using the Metropolis-Hastings algorithm.
default.expand

Compute Expansion Window for Simulation
Gres

Residual G Function
rmpoint

Generate N Random Multitype Points
chorley

Chorley-Ribble Cancer Data
murchison

Murchison gold deposits
coef.ppm

Coefficients of Fitted Point Process Model
rotate.owin

Rotate a Window
cbind.hyperframe

Combine Hyperframes by Rows or by Columns
logLik.slrm

Loglikelihood of Spatial Logistic Regression
bw.diggle

Cross Validated Bandwidth Selection for Kernel Density
clarkevans

Clark and Evans Aggregation Index
is.stationary

Recognise Stationary and Poisson Point Process Models
Gest

Nearest Neighbour Distance Function G
Ord

Generic Ord Interaction model
ripras

Estimate window from points alone
unmark

Remove Marks
default.dummy

Generate a Default Pattern of Dummy Points
Replace.im

Reset Values in Subset of Image
crossdist.ppx

Pairwise Distances Between Two Different Multi-Dimensional Point Patterns
summary.owin

Summary of a Spatial Window
rpoispp3

Generate Poisson Point Pattern in Three Dimensions
concatxy

Concatenate x,y Coordinate Vectors
distmap.ppp

Distance Map of Point Pattern
logLik.ppm

Log Likelihood and AIC for Point Process Model
discretise

Safely Convert Point Pattern Window to Binary Mask
print.quad

Print a Quadrature Scheme
marktable

Tabulate Marks in Neighbourhood of Every Point in a Point Pattern
is.subset.owin

Determine Whether One Window is Contained In Another
spatstat-deprecated

Deprecated spatstat functions
gridcentres

Rectangular grid of points
rStrauss

Perfect Simulation of the Strauss Process
rlabel

Random Re-Labelling of Point Pattern
AreaInter

The Area Interaction Point Process Model
hamster

Aherne's hamster tumour data
adaptive.density

Intensity Estimate of Point Pattern Using Tessellation
plot.listof

Plot a List of Things
Fiksel

The Fiksel Interaction
identify.ppp

Identify Points in a Point Pattern
eroded.areas

Areas of Morphological Erosions
print.im

Print Brief Details of an Image
linearpcf

Linear Pair Correlation Function
finpines

Pine saplings in Finland.
as.interact

Extract Interaction Structure
default.rmhcontrol

Set Default Control Parameters for Metropolis-Hastings Algorithm.
rNeymanScott

Simulate Neyman-Scott Process
Gdot

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

Corners of a rectangle
linnet

Create a Linear Network
rMatClust

Simulate Matern Cluster Process
plot.psp

plot a Spatial Line Segment Pattern
crossing.psp

Crossing Points of Two Line Segment Patterns
disc

Circular Window
markconnect

Mark Connection Function
split.im

Divide Image Into Sub-images
hyperframe

Hyper Data Frame
bdist.points

Distance to Boundary of Window
layered

Create List of Plotting Layers
rpoislpp

Poisson Point Process on a Linear Network
lgcp.estpcf

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

Neighbourhood density function
cut.ppp

Classify Points in a Point Pattern
crossdist.ppp

Pairwise distances between two different point patterns
compareFit

Residual Diagnostics for Multiple Fitted Models
rescale.ppp

Convert Point Pattern to Another Unit of Length
methods.linnet

Methods for Linear Networks
localKinhom

Inhomogeneous Neighbourhood Density Function
Extract.fasp

Extract Subset of Function Array
methods.boxx

Methods for Multi-Dimensional Box
rescale.owin

Convert Window to Another Unit of Length
Kmeasure

Reduced Second Moment Measure
rpoisline

Generate Poisson Random Line Process
pairdist.pp3

Pairwise distances in Three Dimensions
methods.lppm

Methods for Fitted Point Process Models on a Linear Network
heather

Diggle's Heather Data
setcov

Set Covariance of a Window
perimeter

Perimeter Length of Window
shift.owin

Apply Vector Translation To Window
Lcross.inhom

Inhomogeneous Cross Type L Function
japanesepines

Japanese Pines Point Pattern
Kcross.inhom

Inhomogeneous Cross K Function
betacells

Beta Ganglion Cells in Cat Retina
pairdist.ppp

Pairwise distances
envelope

Simulation Envelopes of Summary Function
anova.ppm

ANOVA for Fitted Point Process Models
plot.hyperframe

Plot Entries in a Hyperframe
Kcross

Multitype K Function (Cross-type)
plot.kppm

Plot a fitted cluster point process
pairsat.family

Saturated Pairwise Interaction Point Process Family
matclust.estK

Fit the Matern Cluster Point Process by Minimum Contrast
distmap.owin

Distance Map of Window
as.owin

Convert Data To Class owin
ponderosa

Ponderosa Pine Tree Point Pattern
as.data.frame.im

Convert Pixel Image to Data Frame
rmh.ppm

Simulate from a Fitted Point Process Model
duplicated.ppp

Determine Duplicated Points in a Spatial Point Pattern
progressreport

Print Progress Reports
is.multitype

Test whether Object is Multitype
nnclean

Nearest Neighbour Clutter Removal
pairdist.ppx

Pairwise Distances in Any Dimensions
rescale.psp

Convert Line Segment Pattern to Another Unit of Length
multiplicity.ppp

Count Multiplicity of Duplicate Points
pointsOnLines

Place Points Evenly Along Specified Lines
diameter.owin

Diameter of a Window
model.frame.ppm

Extract the Environment of a Point Process Model
fv.object

Function Value Table
anova.slrm

Analysis of Deviance for Spatial Logistic Regression Models
redwood

California Redwoods Point Pattern (Ripley's Subset)
model.images

Compute Images of Constructed Covariates
quadrats

Divide Region into Quadrats
density.psp

Kernel Smoothing of Line Segment Pattern
plot.fasp

Plot a Function Array
pcf.ppp

Pair Correlation Function of Point Pattern
pairdist.psp

Pairwise distances between line segments
methods.pp3

Methods for three-dimensional point patterns
Softcore

The Soft Core Point Process Model
quadscheme

Generate a Quadrature Scheme from a Point Pattern
psstA

Pseudoscore Diagnostic For Fitted Model against Area-Interaction Alternative
Pairwise

Generic Pairwise Interaction model
eem

Exponential Energy Marks
harmonic

Basis for Harmonic Functions
Gcom

Model Compensator of Nearest Neighbour Function
pixellate.owin

Convert Window to Pixel Image
Extract.tess

Extract or Replace Subset of Tessellation
rshift

Random Shift
quadrat.test

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

Morishita Index Plot
rmpoispp

Generate Multitype Poisson Point Pattern
distfun

Distance Map as a Function
is.ppm

Test Whether An Object Is A Fitted Point Process Model
Extract.listof

Extract or Replace Subset of a List of Things
residualspaper

Data and Code From JRSS Discussion Paper on Residuals
formula.ppm

Model Formulae for Gibbs Point Process Models
rgbim

Create Colour-Valued Pixel Image
append.psp

Combine Two Line Segment Patterns
marks

Marks of a Point Pattern
marks.psp

Marks of a Line Segment Pattern
Saturated

Saturated Pairwise Interaction model
by.ppp

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

Simulate Thomas Process
clickjoin

Interactively join vertices on a plot
print.ppm

Print a Fitted Point Process Model
shift.ppp

Apply Vector Translation To Point Pattern
methods.lpp

Methods for Point Patterns on a Linear Network
mincontrast

Method of Minimum Contrast
as.psp

Convert Data To Class psp
Kest.fft

K-function using FFT
nndist.psp

Nearest neighbour distances between line segments
Gcross

Multitype Nearest Neighbour Distance Function (i-to-j)
is.multitype.ppp

Test Whether A Point Pattern is Multitype
pcfdot.inhom

Inhomogeneous Multitype Pair Correlation Function (Type-i-To-Any-Type)
predict.lppm

Predict Point Process Model on Linear Network
compatible.im

Test Whether Two Pixel Images Are Compatible
clip.infline

Intersect Infinite Straight Lines with a Window
psp.object

Class of Line Segment Patterns
lgcp.estK

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
qqplot.ppm

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

Data Sharpening of Point Pattern
Kest

K-function
convexhull

Convex Hull
lut

Lookup Tables
flu

Influenza Virus Proteins
npoints

Number of Points in a Point Pattern
methods.ppx

Methods for Multidimensional Space-Time Point Patterns
pppdist

Distance Between Two Point Patterns
fitin.ppm

Extract the Interaction from a Fitted Point Process Model
SatPiece

Piecewise Constant Saturated Pairwise Interaction Point Process Model
pcfcross

Multitype pair correlation function (cross-type)
bronzefilter

Bronze gradient filter data
demopat

Artificial Data Point Pattern
intersect.tess

Intersection of Two Tessellations
distmap

Distance Map
pixellate

Convert Spatial Object to Pixel Image
ppm.object

Class of Fitted Point Process Models
endpoints.psp

Endpoints of Line Segment Pattern
redwoodfull

California Redwoods Point Pattern (Entire Dataset)
pairdist.default

Pairwise distances
inforder.family

Infinite Order Interaction Family
relrisk

Nonparametric Estimate of Spatially-Varying Relative Risk
rsyst

Simulate systematic random point pattern
plot.owin

Plot a Spatial Window
print.psp

Print Brief Details of a Line Segment Pattern Dataset
ord.family

Ord Interaction Process Family
is.marked.ppp

Test Whether A Point Pattern is Marked
matchingdist

Distance for a Point Pattern Matching
reach

Interaction Distance of a Point Process
linearpcfinhom

Inhomogeneous Linear Pair Correlation Function
rmhmodel.list

Define Point Process Model for Metropolis-Hastings Simulation.
pcfinhom

Inhomogeneous Pair Correlation Function
rSSI

Simulate Simple Sequential Inhibition
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
ppx

Multidimensional Space-Time Point Pattern
plot.envelope

Plot a Simulation Envelope
humberside

Humberside Data on Childhood Leukaemia and Lymphoma
pcfdot

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

Find Largest Circle Inside Window
lppm

Fit Point Process Model to Point Pattern on Linear Network
runifpointx

Generate N Uniform Random Points in Any Dimensions
nnwhich.pp3

Nearest neighbours in three dimensions
nncross

Nearest Neighbours Between Two Patterns
tile.areas

Compute Areas of Tiles in a Tessellation
latest.news

Print News About Latest Version of Package
summary.splitppp

Summary of a Split Point Pattern
integral.im

Integral of a Pixel Image
psstG

Pseudoscore Diagnostic For Fitted Model against Saturation Alternative
slrm

Spatial Logistic Regression
print.ppp

Print Brief Details of a Point Pattern Dataset
shift

Apply Vector Translation
rpoispp

Generate Poisson Point Pattern
residuals.ppm

Residuals for Fitted Point Process Model
is.convex

Test Whether a Window is Convex
runifpoint

Generate N Uniform Random Points
npfun

Dummy Function Returns Number of Points
runifpoint3

Generate N Uniform Random Points in Three Dimensions
nnwhich

Nearest neighbour
update.ppm

Update a Fitted Point Process Model
selfcrossing.psp

Crossing Points in a Line Segment Pattern
scanpp

Read Point Pattern From Data File
markcorrint

Mark Correlation Integral
methods.kppm

Methods for Cluster Point Process Models
which.max.im

Identify Pixelwise Maximum of Several Pixel Images
ppp.object

Class of Point Patterns
plot.quad

plot a Spatial Quadrature Scheme
rLGCP

Simulate Log-Gaussian Cox Process
rmhstart

Determine Initial State for Metropolis-Hastings Simulation.
quad.object

Class of Quadrature Schemes
psp

Create a Line Segment Pattern
rmhmodel.default

Build Point Process Model for Metropolis-Hastings Simulation.
tess

Create a Tessellation
rjitter

Random Perturbation of a Point Pattern
rescue.rectangle

Convert Window Back To Rectangle
reduced.sample

Reduced Sample Estimator using Histogram Data
update.kppm

Update a Fitted Cluster Point Process Model
rotate.ppp

Rotate a Point Pattern
rpoislinetess

Poisson Line Tessellation
is.empty

Test Whether An Object Is Empty
summary.im

Summarizing a Pixel Image
union.quad

Union of Data and Dummy Points
Extract.im

Extract Subset of Image
Iest

Estimate the I-function
Kinhom

Inhomogeneous K-function
Extract.psp

Extract Subset of Line Segment Pattern
Kres

Residual K Function
Extract.quad

Subset of Quadrature Scheme
Lcross

Multitype L-function (cross-type)
allstats

Calculate four standard summary functions of a point pattern.
Extract.fv

Extract Subset of Function Values
bdist.pixels

Distance to Boundary of Window
Jcross

Multitype J Function (i-to-j)
bei

Tropical rain forest trees
as.data.frame.psp

Coerce Line Segment Pattern to a Data Frame
bdist.tiles

Distance to Boundary of Window
Ldot

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

Border Region of a Window
swedishpines

Swedish Pines Point Pattern
connected

Connected components of an image or window
deltametric

Delta Metric
dummy.ppm

Extract Dummy Points Used to Fit a Point Process Model
areaLoss

Difference of Disc Areas
eval.fv

Evaluate Expression Involving Functions
areaGain

Difference of Disc Areas
diameter.box3

Geometrical Calculations for Three-Dimensional Box
iplot

Point and Click Interface for Displaying a Point Pattern
pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern
plot.slrm

Plot a Fitted Spatial Logistic Regression
ganglia

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

Class of Images
eval.im

Evaluate Expression Involving Pixel Images
is.multitype.ppm

Test Whether A Point Process Model is Multitype
plot.fv

Plot Function Values
im

Create a Pixel Image Object
predict.slrm

Predicted or Fitted Values from Spatial Logistic Regression
rescale.im

Convert Pixel Image to Another Unit of Length
rMosaicSet

Mosaic Random Set
lurking

Lurking variable plot
km.rs

Kaplan-Meier and Reduced Sample Estimator using Histograms
linearK

Linear K Function
rpoint

Generate N Random Points
longleaf

Longleaf Pines Point Pattern
whist

Weighted Histogram
pixellate.psp

Convert Line Segment Pattern to Pixel Image
plot.splitppp

Plot a List of Point Patterns
rshift.psp

Randomly Shift a Line Segment Pattern
raster.x

Cartesian Coordinates for a Pixel Raster
nncorr

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

Plot a Pixel Image
rmhmodel.ppm

Interpret Fitted Model for Metropolis-Hastings Simulation.
pairdist

Pairwise distances
summary.psp

Summary of a Line Segment Pattern Dataset
quad.ppm

Extract Quadrature Scheme Used to Fit a Point Process Model
rthin

Random Thinning
plot.linim

Plot Pixel Image on Linear Network
rotate

Rotate
runifpointOnLines

Generate N Uniform Random Points On Line Segments
rpoisppOnLines

Generate Poisson Point Pattern on Line Segments
rpoisppx

Generate Poisson Point Pattern in Any Dimensions
Extract.splitppp

Extract or Replace Sub-Patterns
MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
Gfox

Foxall's Distance Functions
anemones

Beadlet Anemones Data
MultiStrauss

The Multitype Strauss Point Process Model
clarkevans.test

Clark and Evans Test
compatible.fasp

Test Whether Two Function Arrays Are Compatible
linearKinhom

Inhomogeneous Linear K Function
mean.im

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

Fry Plot of Point Pattern
msr

Signed or Vector-Valued Measure
markcorr

Mark Correlation Function
pppmatching

Create a Point Matching
plot.kstest

Plot a Spatial Kolmogorov-Smirnov Test
pcf

Pair Correlation Function
rlinegrid

Generate grid of parallel lines with random displacement
rMaternI

Simulate Matern Model I
shift.im

Apply Vector Translation To Pixel Image
rotate.psp

Rotate a Line Segment Pattern
unitname

Name for Unit of Length
square

Square Window
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
Strauss

The Strauss Point Process Model
Jmulti

Marked J Function
bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation
MultiHard

The Multitype Hard Core Point Process Model
Gmulti

Marked Nearest Neighbour Distance Function
bw.stoyan

Stoyan's Rule of Thumb for Bandwidth Selection
blur

Apply Gaussian Blur to a Pixel Image
dirichlet.weights

Compute Quadrature Weights Based on Dirichlet Tessellation
gridweights

Compute Quadrature Weights Based on Grid Counts
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
boxx

Multi-Dimensional Box
dirichlet

Dirichlet Tessellation of Point Pattern
discpartarea

Area of Part of Disc
markstat

Summarise Marks in Every Neighbourhood in a Point Pattern
lansing

Lansing Woods Point Pattern
model.depends

Identify Covariates Involved in each Model Term
model.matrix.ppm

Extract Design Matrix from Point Process Model
plot.plotppm

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

Plot a Colour Map
nnwhich.ppx

Nearest Neighbours in Any Dimensions
quantile.im

Sample Quantiles of Pixel Image
pixelquad

Quadrature Scheme Based on Pixel Grid
quadratcount

Quadrat counting for a point pattern
rMosaicField

Mosaic Random Field
rshift.splitppp

Randomly Shift a List of Point Patterns
rescale

Convert dataset to another unit of length
rknn

Theoretical Distribution of Nearest Neighbour Distance
shapley

Galaxies in the Shapley Supercluster
shift.psp

Apply Vector Translation To Line Segment Pattern
simulate.kppm

Simulate a Fitted Cluster Point Process Model