spatstat.explore3.7-0 package

Exploratory Data Analysis for the 'spatstat' Family

Math.fv

S3 Group Generic Methods for Function Tables

pcf

Pair Correlation Function

pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern

pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)

pcfcross

Multitype pair correlation function (cross-type)

pcfdot.inhom

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

pcfdot

Multitype pair correlation function (i-to-any)

pcfinhom

Inhomogeneous Pair Correlation Function

pcfmulti

Marked pair correlation function

plot.bermantest

Plot Result of Berman Test

plot.ssf

Plot a Spatially Sampled Function

pool.fv

Pool Several Functions

pool.quadrattest

Pool Several Quadrat Tests

pool.rat

Pool Data from Several Ratio Objects

pool

Pool Data

PPversion

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

ptwise.envelope

Pointwise Statistics on an Envelope Object

quadrat.test

Dispersion Test for Spatial Point Pattern Based on Quadrat Counts

quadrat.test.splitppp

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

roc.rhohat

Receiver Operating Characteristic

rose

Rose Diagram

rotmean

Rotational Average of a Pixel Image

scan.test

Spatial Scan Test

scanLRTS

Likelihood Ratio Test Statistic for Scan Test

sdr

Sufficient Dimension Reduction

sdrPredict

Compute Predictors from Sufficient Dimension Reduction

segregation.test

Test of Spatial Segregation of Types

sharpen

Data Sharpening of Point Pattern

Smooth.fv

Apply Smoothing to Function Values

Smooth.ppp

Spatial smoothing of observations at irregular points

Smooth

Spatial smoothing of data

Smooth.ssf

Smooth a Spatially Sampled Function

thresholdSelect

Select Threshold to Convert Numerical Predictor to Binary Predictor

with.ssf

Evaluate Expression in a Spatially Sampled Function

youden

Youden Statistic

as.function.rhohat

Convert Function Table to Function

as.fv

Convert Data To Class fv

as.owin.quadrattest

Convert Data To Class owin

bw.pplHeat

Bandwidth Selection for Diffusion Smoother by Likelihood Cross-Validat...

bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation

edge.Ripley

Ripley's Isotropic Edge Correction

edge.Trans

Translation Edge Correction

Emark

Diagnostics for random marking

envelope.envelope

Recompute Envelopes

envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern

envelope

Simulation Envelopes of Summary Function

envelopeArray

Array of Simulation Envelopes of Summary Function

eval.fasp

Evaluate Expression Involving Function Arrays

eval.fv

Evaluate Expression Involving Functions

Math.fasp

S3 Group Generic Methods for Function Arrays

hotbox

Heat Kernel for a Two-Dimensional Rectangle

idw

Inverse-distance weighted smoothing of observations at irregular point...

Iest

Estimate the I-function

increment.fv

Increments of a Function

integral.fv

Compute Integral of Function Object

ISE.envelope

Integrated Squared Error on an Envelope Object

Jcross.inhom

Inhomogeneous Multitype J function (i-to-j)

Jcross

Multitype J Function (i-to-j)

Jdot.inhom

Inhomogeneous Multitype J function (i-to-any)

Jdot

Multitype J Function (i-to-any)

Jest

Estimate the J-function

Jinhom

Inhomogeneous J-function

Jmulti.inhom

Inhomogeneous Marked J-Function

Jmulti

Marked J Function

K3est

K-function of a Three-Dimensional Point Pattern

Kcross.inhom

Inhomogeneous Cross K Function

Kcross

Multitype K Function (Cross-type)

Kdot.inhom

Inhomogeneous Multitype K Dot Function

Kdot

Multitype K Function (i-to-any)

Kest.fft

K-function using FFT

Kest

K-function

Kinhom

Inhomogeneous K-function

Kmark

Mark-Weighted K Function

Kmeasure

Reduced Second Moment Measure

Kmulti.inhom

Inhomogeneous Marked K-Function

Kmulti

Marked K-Function

Kscaled

Locally Scaled K-function

Extract.fasp

Extract Subset of Function Array

Extract.fv

Extract or Replace Subset of Function Values

Extract.ssf

Subset of spatially sampled function

F3est

Empty Space Function of a Three-Dimensional Point Pattern

fvnames

Abbreviations for Groups of Columns in Function Value Table

G3est

Nearest Neighbour Distance Distribution Function of a Three-Dimensiona...

Gcross.inhom

Inhomogeneous Multitype G Cross Function

Gcross

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

Gdot.inhom

Inhomogeneous Multitype G Dot Function

Gdot

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

Gest

Nearest Neighbour Distance Function G

Gfox

Foxall's Distance Functions

Ginhom

Inhomogeneous Nearest Neighbour Function

Gmulti

Marked Nearest Neighbour Distance Function

GmultiInhom

Inhomogeneous Marked G-Function

harmonise.fv

Make Function Tables Compatible

Hest

Spherical Contact Distribution Function

hopskel

Hopkins-Skellam Test

densityVoronoi

Intensity Estimate of Point Pattern Using Voronoi-Dirichlet Tessellati...

deriv.fv

Calculate Derivative of Function Values

dg.envelope

Global Envelopes for Dao-Genton Test

dg.progress

Progress Plot of Dao-Genton Test of Spatial Pattern

dg.sigtrace

Significance Trace of Dao-Genton Test

dg.test

Dao-Genton Adjusted Goodness-Of-Fit Test

dimhat

Estimate Dimension of Central Subspace

distcdf

Distribution Function of Interpoint Distance

domain.quadrattest

Extract the Domain of any Spatial Object

MISE.envelope

Mean Integrated Squared Error on an Envelope Object

nnclean

Nearest Neighbour Clutter Removal

nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern

nncount

Nearest Neighbour Cross-Type Occurrence Count Function

nndensity

Estimate Intensity of Point Pattern Using Nearest Neighbour Distances

nnequal

Nearest Neighbour Type-Equality Function

nnorient

Nearest Neighbour Orientation Distribution

spatstat.explore-deprecated

Deprecated spatstat.explore functions

spatstat.explore-internal

Internal spatstat.explore functions

spatstat.explore-package

The spatstat.explore Package

ssf

Spatially Sampled Function

stienen

Stienen Diagram

studpermu.test

Studentised Permutation Test

subspaceDistance

Distance Between Linear Spaces

thresholdCI

Confidence Interval for Threshold of Numerical Predictor

clarkevans

Clark and Evans Aggregation Index

clarkevans.test

Clark and Evans Test

clusterset

Allard-Fraley Estimator of Cluster Feature

density.ppp

Kernel Smoothed Intensity of Point Pattern

adaptive.density

Adaptive Estimate of Intensity of Point Pattern

allstats

Calculate four standard summary functions of a point pattern.

alltypes

Calculate Summary Statistic for All Types in a Multitype Point Pattern

as.data.frame.envelope

Coerce Envelope to Data Frame

as.function.fv

Convert Function Value Table to Function

as.tess

Convert Data To Tessellation

auc

Area Under ROC Curve for Point Pattern Data

berman.test

Berman's Tests for Point Process Model

bind.fv

Combine Function Value Tables

bits.envelope

Global Envelopes for Balanced Independent Two-Stage Test

bits.test

Balanced Independent Two-Stage Monte Carlo Test

blur

Apply Gaussian Blur to a Pixel Image

blurHeat

Diffusion Blur

boyce

Boyce Index

bw.abram.ppp

Abramson's Adaptive Bandwidths For Spatial Point Pattern

bw.bdh

Adjust Bandwidth Selection Rule to Account for Inhomogeneity

bw.CvL.adaptive

Select Adaptive Bandwidth for Kernel Estimation Using Cronie-Van Liesh...

densityHeat

Diffusion Estimate of Point Pattern Intensity

bw.CvL

Cronie and van Lieshout's Criterion for Bandwidth Selection for Kernel...

bw.CvLHeat

Bandwidth Selection for Diffusion Smoother by Cronie-van Lieshout Rule

bw.diggle

Cross Validated Bandwidth Selection for Kernel Density

bw.frac

Bandwidth Selection Based on Window Geometry

bw.optim.object

Class of Optimized Bandwidths

bw.pcf

Cross Validated Bandwidth Selection for Pair Correlation Function

bw.pcfinhom

Cross Validated Bandwidth Selection for Inhomogeneous Pair Correlation...

bw.ppl

Likelihood Cross Validation Bandwidth Selection for Kernel Density

bw.relriskHeatppp

Bandwidth Selection for Relative Risk using Diffusion

bw.scott

Scott's Rule for Bandwidth Selection for Kernel Density

bw.smoothppp

Cross Validated Bandwidth Selection for Spatial Smoothing

bw.stoyan

Stoyan's Rule of Thumb for Bandwidth for Estimating Pair Correlation

cdf.test

Spatial Distribution Test for Point Pattern or Point Process Model

circdensity

Density Estimation for Circular Data

collapse.fv

Collapse Several Function Tables into One

compatible.fasp

Test Whether Function Arrays Are Compatible

compatible.fv

Test Whether Function Objects Are Compatible

compileCDF

Generic Calculation of Cumulative Distribution Function of Distances

compileK

Generic Calculation of K Function and Pair Correlation Function

cov.im

Covariance and Correlation between Images

dclf.progress

Progress Plot of Test of Spatial Pattern

dclf.sigtrace

Significance Trace of Cressie-Loosmore-Ford or Maximum Absolute Deviat...

dclf.test

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

density.psp

Kernel Smoothing of Line Segment Pattern

density.splitppp

Kernel Smoothed Intensity of Split Point Pattern

densityAdaptiveKernel.ppp

Adaptive Kernel Estimate of Intensity of Point Pattern

densityAdaptiveKernel.splitppp

Adaptive Kernel Estimate of Intensity for Split Point Pattern

densityfun

Kernel Estimate of Intensity as a Spatial Function

densityHeat.ppp

Diffusion Estimate of Point Pattern Intensity

fasp.object

Function Arrays for Spatial Patterns

Fest

Estimate the Empty Space Function or its Hazard Rate

Finhom

Inhomogeneous Empty Space Function

FmultiInhom

Inhomogeneous Marked F-Function

formula.fv

Extract or Change the Plot Formula for a Function Value Table

fryplot

Fry Plot of Point Pattern

fv.object

Function Value Table

fv

Create a Function Value Table

Ksector

Sector K-function

laslett

Laslett's Transform

Lcross.inhom

Inhomogeneous Cross Type L Function

Lcross

Multitype L-function (cross-type)

Ldot.inhom

Inhomogeneous Multitype L Dot Function

Ldot

Multitype L-function (i-to-any)

Lest

L-function

Linhom

Inhomogeneous L-function

localK

Neighbourhood density function

localKcross.inhom

Inhomogeneous Multitype K Function

localKcross

Local Multitype K Function (Cross-Type)

localKdot

Local Multitype K Function (Dot-Type)

localKinhom

Inhomogeneous Neighbourhood Density Function

localpcf

Local pair correlation function

lohboot

Bootstrap Confidence Bands for Summary Function

markconnect

Mark Connection Function

markcorr

Mark Correlation Function

markcrosscorr

Mark Cross-Correlation Function

markequal

Mark Equality Function

markmarkscatter

Mark-Mark Scatter Plot

marktable

Tabulate Marks in Neighbourhood of Every Point in a Point Pattern

markvario

Mark Variogram

methods.rho2hat

Methods for Intensity Functions of Two Spatial Covariates

methods.rhohat

Methods for Intensity Functions of Spatial Covariate

methods.ssf

Methods for Spatially Sampled Functions

miplot

Morisita Index Plot

pairMean

Mean of a Function of Interpoint Distance

pairorient

Point Pair Orientation Distribution

pairs.im

Scatterplot Matrix for Pixel Images

panel.contour

Panel Plots using Colour Image or Contour Lines

pcf.fasp

Pair Correlation Function obtained from array of K functions

pcf.fv

Pair Correlation Function obtained from K Function

pcf.ppp

Pair Correlation Function of Point Pattern

plot.scan.test

Plot Result of Scan Test

plot.cdftest

Plot a Spatial Distribution Test

plot.envelope

Plot a Simulation Envelope

plot.fasp

Plot a Function Array

plot.fv

Plot Function Values

plot.laslett

Plot Laslett Transform

plot.quadrattest

Display the result of a quadrat counting test.

relriskHeat

Diffusion Estimate of Conditional Probabilities

rho2hat

Smoothed Relative Density of Pairs of Covariate Values

rhohat

Nonparametric Estimate of Intensity as Function of a Covariate

roc

Receiver Operating Characteristic

plot.studpermutest

Plot a Studentised Permutation Test

pool.anylist

Pool Data from a List of Objects

pool.envelope

Pool Data from Several Envelopes

pool.fasp

Pool Data from Several Function Arrays

SpatialQuantile

Spatially Weighted Median or Quantile

radcumint

Radial Cumulative Integral

rat

Ratio object

rectcontact

Contact Distribution Function using Rectangular Structuring Element

reload.or.compute

Perform Computations or Retrieve Results From File

relrisk.ppp

Nonparametric Estimate of Spatially-Varying Relative Risk

relrisk

Estimate of Spatially-Varying Relative Risk

Smoothfun.ppp

Smooth Interpolation of Marks as a Spatial Function

SmoothHeat.ppp

Spatial Smoothing of Observations using Diffusion Estimate of Density

SmoothHeat

Spatial Smoothing of Data by Diffusion

spatcov

Estimate the Spatial Covariance Function of a Random Field

spatialcdf

Spatial Cumulative Distribution Function

SpatialMedian.ppp

Spatially Weighted Median of Values at Points

SpatialQuantile.ppp

Spatially Weighted Quantile of Values at Points

tolcon

Tolerance Contours for Relative Risk

transect.im

Pixel Values Along a Transect

Tstat

Third order summary statistic

varblock

Estimate Variance of Summary Statistic by Subdivision

Window.quadrattest

Extract Window of Spatial Object

with.fv

Evaluate an Expression in a Function Table

Functionality for exploratory data analysis and nonparametric analysis of spatial data, mainly spatial point patterns, in the 'spatstat' family of packages. (Excludes analysis of spatial data on a linear network, which is covered by the separate package 'spatstat.linnet'.) 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.

  • Maintainer: Adrian Baddeley
  • License: GPL (>= 2)
  • Last published: 2026-01-22