Learn R Programming

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

spatstat (version 1.0-1)

Analysis of spatial point patterns

Description

data analysis and modelling of two-dimensional point patterns, including multitype points and spatial covariates

Copy Link

Version

Install

install.packages('spatstat')

Monthly Downloads

18,534

Version

1.0-1

License

GPL version 2 or newer

Maintainer

Adrian Baddeley

Last Published

March 22nd, 2025

Functions in spatstat (1.0-1)

MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
as.ppp

Convert Data To Class ppp
Ord

Generic Ord Interaction model
Gmulti

Marked Nearest Neighbour Distance Function
affine

Apply Affine Transformation
plot.fasp

Plot a Function Array
Pairwise

Generic Pairwise Interaction model
rotate.ppp

Rotate a Point Pattern
Kdot

Multitype K Function (i-to-any)
eroded.areas

Areas of Morphological Erosions
erode.owin

Erode a Window
MultiStrauss

The Multitype Strauss Point Process Model
rMatClust

Simulate Matern Cluster Process
print.ppm

Print a Fitted Point Process Model
inside.owin

Test Whether Points Are Inside A Window
alltypes

Calculate Statistic for All Types in a Multitype Point Pattern
rpoispp

Generate Poisson Point Pattern
lansing

Lansing Woods Point Pattern
runifpoint

Generate N Uniform Random Points
subset.ppp

Extract Subset of Point Pattern
Gcross

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

K-function
owin.object

Class owin
kmrs

Kaplan-Meier and Reduced Sample Estimator using Histograms
diameter

Diameter of a Window Frame
demopat

Artificial Data Point Pattern
pcf

Pair Correlation Function
plot.ppp

plot a Spatial Point Pattern
Softcore

The Soft Core Point Process Model
shift

Apply Vector Translation
affine.owin

Apply Affine Transformation To Window
Saturated

Saturated Pairwise Interaction model
ppm.object

Class of Fitted Point Process Models
shift.ppp

Apply Vector Translation To Point Pattern
stratrand

Stratified random point pattern
Gdot

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

Cat Retina Data
rotate

Rotate
Geyer

Geyer's Saturation Point Process Model
Poisson

Poisson Point Process Model
ppp

Create a Point Pattern
union.quad

Union of Data and Dummy Points
Strauss

The Strauss Point Process Model
bramblecanes

Hutchings' Bramble Canes data
unmark

Remove Marks from a Marked Point Pattern
bounding.box

Bounding Box of a Window
bdist.points

Distance to Boundary of Window
gridweights

Compute Quadrature Weights Based on Grid Counts
longleaf

Longleaf Pines Point Pattern
raster.x

Cartesian Coordinates for a Pixel Raster
concatxy

Concatenate x,y Coordinate Vectors
Jdot

Multitype J Function (i-to-any)
Jcross

Multitype J Function (i-to-j)
conspire

Plot Together According to a Formula
mpl

Fit Point Process Model by Maximum Pseudolikelihood
subset.fasp

Extract Subset of Function Array
plot.owin

Plot a Spatial Window
pairsat.family

Saturated Pairwise Interaction Point Process Family
superimpose

Superimpose Several Point Patterns
spokes

Spokes pattern of dummy points
owin

Create a Window
quad.object

Class of Quadrature Schemes
bdist.pixels

Distance to Boundary of Window
affine.ppp

Apply Affine Transformation To Point Pattern
Kinhom

Inhomogeneous K-function
catHughes

Hughes' Cat Retina Data
allstats

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

Class of Point Patterns
reduced.sample

Reduced Sample Estimator using Histogram Data
rotate.owin

Rotate a Window
shift.owin

Apply Vector Translation To Window
rNeymanScott

Simulate Neyman-Scott Process
spatstat-internal

Internal spatstat functions
StraussHard

The Strauss / Hard Core Point Process Model
Jest

Estimate the J-function
redwood

California Redwoods Point Pattern
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
fasp.object

Function Arrays for Spatial Patterns
as.mask

Pixel Image Approximation of a Window
as.owin

Convert Data To Class owin
quadscheme

Generate a Quadrature Scheme from a Point Pattern
Gest

Nearest Neighbour Distance Function G
Jmulti

Marked J Function
Kmulti

Marked K-Function
rMaternII

Simulate Matern Model II
simdat

Simulated Point Pattern
rSSI

Simple Sequential Inhibition
predict.ppm

Prediction from a Fitted Point Process Model
dirichlet.weights

Compute Quadrature Weights Based on Dirichlet Tessellation
rmh

Simulate point patterns using the Metropolis-Hastings algorithm.
as.rectangle

Window Frame
rMaternI

Simulate Matern Model I
cells

Biological Cells Point Pattern
default.dummy

Generate a Default Pattern of Dummy Points
pairwise.family

Pairwise Interaction Process Family
plot.ppm

plot a Fitted Point Process Model
gridcentres

Rectangular grid of points
nztrees

New Zealand Trees Point Pattern
Fest

Estimate the empty space function F
Kcross

Multitype K Function (Cross-type)
area.owin

Area of a Window
nearest.raster.point

Find Pixel Nearest to a Given Point
swedishpines

Swedish Pines Point Pattern
rThomas

Simulate Thomas Process
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
OrdThresh

Ord's Interaction model
complement.owin

Take Complement of a Window
corners

Corners of a rectangle
ord.family

Ord Interaction Process Family