Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


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

spatstat (version 1.3-1)

Analysis of spatial point patterns

Description

Spatial Point Pattern data analysis, modelling and simulation including multitype/marked points and spatial covariates

Copy Link

Version

Install

install.packages('spatstat')

Monthly Downloads

18,534

Version

1.3-1

License

GPL version 2 or newer

Maintainer

Adrian Baddeley

Last Published

March 22nd, 2025

Functions in spatstat (1.3-1)

applynbd

Apply Function to Every Neighbourhood in a Point Pattern
Kmulti

Marked K-Function
Kinhom

Inhomogeneous K-function
OrdThresh

Ord's Interaction model
spatstat-internal

Internal spatstat functions
plot.owin

Plot a Spatial Window
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
Kcross

Multitype K Function (Cross-type)
cut.ppp

Convert Point Pattern Marks from Numeric to Factor
Gmulti

Marked Nearest Neighbour Distance Function
print.ppp

Print Brief Details of a Point Pattern Dataset
affine

Apply Affine Transformation
ganglia

Cat Retinal Ganglia Data
spokes

Spokes pattern of dummy points
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
affine.ppp

Apply Affine Transformation To Point Pattern
Fest

Estimate the empty space function F
plot.ppm

plot a Fitted Point Process Model
corners

Corners of a rectangle
Jdot

Multitype J Function (i-to-any)
owin.object

Class owin
pairsat.family

Saturated Pairwise Interaction Point Process Family
as.rectangle

Window Frame
plot.ppp

plot a Spatial Point Pattern
Kmeasure

Reduced Second Moment Measure
pairwise.family

Pairwise Interaction Process Family
unmark

Remove Marks from a Marked Point Pattern
pcf

Pair Correlation Function
nndist

Nearest neighbour distances
kmrs

Kaplan-Meier and Reduced Sample Estimator using Histograms
area.owin

Area of a Window
mpl

Fit Point Process Model by Maximum Pseudolikelihood
ppm.object

Class of Fitted Point Process Models
as.mask

Pixel Image Approximation of a Window
Saturated

Saturated Pairwise Interaction model
rotate

Rotate
hamster

Aherne's hamster tumour data
shift.ppp

Apply Vector Translation To Point Pattern
dirichlet.weights

Compute Quadrature Weights Based on Dirichlet Tessellation
predict.ppm

Prediction from a Fitted Point Process Model
MultiStrauss

The Multitype Strauss Point Process Model
ripras

Estimate window from points alone
rMaternII

Simulate Matern Model II
simdat

Simulated Point Pattern
conspire

Plot Together According to a Formula
subset.ppp

Extract Subset of Point Pattern
DiggleGratton

Diggle-Gratton model
complement.owin

Take Complement of a Window
Poisson

Poisson Point Process Model
default.dummy

Generate a Default Pattern of Dummy Points
ppp.object

Class of Point Patterns
ord.family

Ord Interaction Process Family
amacrine

Hughes' Amacrine Cell Data
owin

Create a Window
superimpose

Superimpose Several Point Patterns
markcorr

Mark Correlation Function
rMaternI

Simulate Matern Model I
Jest

Estimate the J-function
bramblecanes

Hutchings' Bramble Canes data
rmh.default

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

Compute Quadrature Weights Based on Grid Counts
harmonic

Basis for Harmonic Functions
StraussHard

The Strauss / Hard Core Point Process Model
pairdist

Pairwise distances
rpoispp

Generate Poisson Point Pattern
rmh.ppm

Simulate from a Fitted Point Process Model
Gdot

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

Artificial Data Point Pattern
raster.x

Cartesian Coordinates for a Pixel Raster
im

Create a Pixel Image Object
summary.owin

Summary of a Spatial Window
affine.owin

Apply Affine Transformation To Window
Geyer

Geyer's Saturation Point Process Model
rmh

Simulate point patterns using the Metropolis-Hastings algorithm.
runifpoint

Generate N Uniform Random Points
bounding.box

Bounding Box of a Window
spatstat.options

Internal Options in Spatstat Package
LennardJones

The Lennard-Jones Potential
bdist.pixels

Distance to Boundary of Window
rotate.owin

Rotate a Window
as.owin

Convert Data To Class owin
Kest

K-function
Kest.fft

K-function using FFT
union.quad

Union of Data and Dummy Points
gridcentres

Rectangular grid of points
stratrand

Stratified random point pattern
rNeymanScott

Simulate Neyman-Scott Process
square

Square Window
shift.owin

Apply Vector Translation To Window
redwoodfull

California Redwoods Point Pattern (Entire Dataset)
print.owin

Print Brief Details of a Spatial Window
summary.ppp

Summary of a Point Pattern Dataset
quad.object

Class of Quadrature Schemes
as.ppp

Convert Data To Class ppp
eroded.areas

Areas of Morphological Erosions
print.ppm

Print a Fitted Point Process Model
ppp

Create a Point Pattern
Jcross

Multitype J Function (i-to-j)
Kdot

Multitype K Function (i-to-any)
diameter

Diameter of a Window Frame
cells

Biological Cells Point Pattern
rSSI

Simple Sequential Inhibition
quadscheme

Generate a Quadrature Scheme from a Point Pattern
centroid.owin

Centroid of a window
plot.fasp

Plot a Function Array
nztrees

New Zealand Trees Point Pattern
Jmulti

Marked J Function
fasp.object

Function Arrays for Spatial Patterns
im.object

Class of Images
bdist.points

Distance to Boundary of Window
rThomas

Simulate Thomas Process
reduced.sample

Reduced Sample Estimator using Histogram Data
redwood

California Redwoods Point Pattern (Ripley's Subset)
longleaf

Longleaf Pines Point Pattern
Ord

Generic Ord Interaction model
Strauss

The Strauss Point Process Model
MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
Pairwise

Generic Pairwise Interaction model
Gcross

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

Window in Shape of Letter R
concatxy

Concatenate x,y Coordinate Vectors
subset.fasp

Extract Subset of Function Array
inside.owin

Test Whether Points Are Inside A Window
erode.owin

Erode a Window
shift

Apply Vector Translation
Softcore

The Soft Core Point Process Model
rMatClust

Simulate Matern Cluster Process
Gest

Nearest Neighbour Distance Function G
swedishpines

Swedish Pines Point Pattern
nearest.raster.point

Find Pixel Nearest to a Given Point
rotate.ppp

Rotate a Point Pattern
lansing

Lansing Woods Point Pattern
allstats

Calculate four standard summary functions of a point pattern.
alltypes

Calculate Statistic for All Types in a Multitype Point Pattern