Learn R Programming

spatstat.explore (version 3.3-3)

Exploratory Data Analysis for the 'spatstat' Family

Description

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.

Copy Link

Version

Install

install.packages('spatstat.explore')

Monthly Downloads

50,321

Version

3.3-3

License

GPL (>= 2)

Maintainer

Last Published

October 22nd, 2024

Functions in spatstat.explore (3.3-3)

F3est

Empty Space Function of a Three-Dimensional Point Pattern
Emark

Diagnostics for random marking
Finhom

Inhomogeneous Empty Space Function
Extract.fv

Extract or Replace Subset of Function Values
Extract.fasp

Extract Subset of Function Array
FmultiInhom

Inhomogeneous Marked F-Function
[.ssf

Subset of spatially sampled function
Gcross

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

Estimate the Empty Space Function or its Hazard Rate
G3est

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

Inhomogeneous Marked G-Function
Gdot.inhom

Inhomogeneous Multitype G Dot Function
Hest

Spherical Contact Distribution Function
Gfox

Foxall's Distance Functions
Gmulti

Marked Nearest Neighbour Distance Function
Gdot

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

Inhomogeneous Nearest Neighbour Function
Gest

Nearest Neighbour Distance Function G
Gcross.inhom

Inhomogeneous Multitype G Cross Function
Iest

Estimate the I-function
Jest

Estimate the J-function
Jcross.inhom

Inhomogeneous Multitype J function (i-to-j)
K3est

K-function of a Three-Dimensional Point Pattern
Jdot

Multitype J Function (i-to-any)
Jmulti.inhom

Inhomogeneous Marked J-Function
Kcross

Multitype K Function (Cross-type)
Jdot.inhom

Inhomogeneous Multitype J function (i-to-any)
Jmulti

Marked J Function
Jcross

Multitype J Function (i-to-j)
Jinhom

Inhomogeneous J-function
Kmeasure

Reduced Second Moment Measure
Kcross.inhom

Inhomogeneous Cross K Function
Kdot

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

Inhomogeneous Multitype K Dot Function
Kmark

Mark-Weighted K Function
Kmulti

Marked K-Function
Kmulti.inhom

Inhomogeneous Marked K-Function
Kest

K-function
Kest.fft

K-function using FFT
Kinhom

Inhomogeneous K-function
Lcross

Multitype L-function (cross-type)
Lcross.inhom

Inhomogeneous Cross Type L Function
Kscaled

Locally Scaled K-function
Ksector

Sector K-function
Math.fasp

S3 Group Generic Methods for Function Arrays
Math.fv

S3 Group Generic Methods for Function Tables
Ldot

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

L-function
Ldot.inhom

Inhomogeneous Multitype L Dot Function
SpatialMedian.ppp

Spatially Weighted Median of Values at Points
Smooth.fv

Apply Smoothing to Function Values
Linhom

Inhomogeneous L-function
Smooth.ssf

Smooth a Spatially Sampled Function
PPversion

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

Spatially Weighted Median or Quantile
as.function.rhohat

Convert Function Table to Function
SpatialQuantile.ppp

Spatially Weighted Quantile of Values at Points
Smooth.ppp

Spatial smoothing of observations at irregular points
Tstat

Third order summary statistic
allstats

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

Convert Data To Class fv
bind.fv

Combine Function Value Tables
SmoothHeat

Spatial Smoothing of Data by Diffusion
SmoothHeat.ppp

Spatial Smoothing of Observations using Diffusion Estimate of Density
Smoothfun.ppp

Smooth Interpolation of Marks as a Spatial Function
bits.envelope

Global Envelopes for Balanced Independent Two-Stage Test
auc

Area Under ROC Curve
alltypes

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

Convert Data To Class owin
berman.test

Berman's Tests for Point Process Model
bw.optim.object

Class of Optimized Bandwidths
Window.quadrattest

Extract Window of Spatial Object
Smooth

Spatial smoothing of data
as.tess

Convert Data To Tessellation
adaptive.density

Adaptive Estimate of Intensity of Point Pattern
as.data.frame.envelope

Coerce Envelope to Data Frame
as.function.fv

Convert Function Value Table to Function
blurHeat

Diffusion Blur
bw.diggle

Cross Validated Bandwidth Selection for Kernel Density
bw.ppl

Likelihood Cross Validation Bandwidth Selection for Kernel Density
boyce

Boyce Index
bw.pcf

Cross Validated Bandwidth Selection for Pair Correlation Function
collapse.fv

Collapse Several Function Tables into One
compatible.fasp

Test Whether Function Arrays Are Compatible
bits.test

Balanced Independent Two-Stage Monte Carlo Test
bw.pplHeat

Bandwidth Selection for Diffusion Smoother by Likelihood Cross-Validation
bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation
bw.CvL

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

Bandwidth Selection Based on Window Geometry
densityVoronoi

Intensity Estimate of Point Pattern Using Voronoi-Dirichlet Tessellation
blur

Apply Gaussian Blur to a Pixel Image
bw.CvL.adaptive

Select Adaptive Bandwidth for Kernel Estimation Using Cronie-Van Lieshout Criterion
bw.scott

Scott's Rule for Bandwidth Selection for Kernel Density
bw.relriskHeatppp

Bandwidth Selection for Relative Risk using Diffusion
densityfun.ppp

Kernel Estimate of Intensity as a Spatial Function
bw.stoyan

Stoyan's Rule of Thumb for Bandwidth Selection
clarkevans.test

Clark and Evans Test
compatible.fv

Test Whether Function Objects Are Compatible
cdf.test

Spatial Distribution Test for Point Pattern or Point Process Model
bw.CvLHeat

Bandwidth Selection for Diffusion Smoother by Cronie-van Lieshout Rule
bw.abram.ppp

Abramson's Adaptive Bandwidths For Spatial Point Pattern
circdensity

Density Estimation for Circular Data
fryplot

Fry Plot of Point Pattern
clarkevans

Clark and Evans Aggregation Index
dclf.progress

Progress Plot of Test of Spatial Pattern
dclf.sigtrace

Significance Trace of Cressie-Loosmore-Ford or Maximum Absolute Deviation Test
compileCDF

Generic Calculation of Cumulative Distribution Function of Distances
fv

Create a Function Value Table
dclf.test

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

Distribution Function of Interpoint Distance
domain.quadrattest

Extract the Domain of any Spatial Object
deriv.fv

Calculate Derivative of Function Values
dg.envelope

Global Envelopes for Dao-Genton Test
laslett

Laslett's Transform
bw.smoothppp

Cross Validated Bandwidth Selection for Spatial Smoothing
density.psp

Kernel Smoothing of Line Segment Pattern
dg.progress

Progress Plot of Dao-Genton Test of Spatial Pattern
dg.sigtrace

Significance Trace of Dao-Genton Test
clusterset

Allard-Fraley Estimator of Cluster Feature
density.ppp

Kernel Smoothed Intensity of Point Pattern
compileK

Generic Calculation of K Function and Pair Correlation Function
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
dg.test

Dao-Genton Adjusted Goodness-Of-Fit Test
densityHeat

Diffusion Estimate of Point Pattern Intensity
localK

Neighbourhood density function
dimhat

Estimate Dimension of Central Subspace
markcrosscorr

Mark Cross-Correlation Function
eval.fasp

Evaluate Expression Involving Function Arrays
fv.object

Function Value Table
markmarkscatter

Mark-Mark Scatter Plot
densityHeat.ppp

Diffusion Estimate of Point Pattern Intensity
cov.im

Covariance and Correlation between Images
methods.rho2hat

Methods for Intensity Functions of Two Spatial Covariates
localKcross

Local Multitype K Function (Cross-Type)
eval.fv

Evaluate Expression Involving Functions
fvnames

Abbreviations for Groups of Columns in Function Value Table
methods.rhohat

Methods for Intensity Functions of Spatial Covariate
densityAdaptiveKernel.ppp

Adaptive Kernel Estimate of Intensity of Point Pattern
pairMean

Mean of a Function of Interpoint Distance
localKcross.inhom

Inhomogeneous Multitype K Function
edge.Ripley

Ripley's Isotropic Edge Correction
pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern
marktable

Tabulate Marks in Neighbourhood of Every Point in a Point Pattern
harmonise.fv

Make Function Tables Compatible
pairorient

Point Pair Orientation Distribution
densityAdaptiveKernel.splitppp

Adaptive Kernel Estimate of Intensity for Split Point Pattern
edge.Trans

Translation Edge Correction
markvario

Mark Variogram
fasp.object

Function Arrays for Spatial Patterns
envelope

Simulation Envelopes of Summary Function
pcf.fv

Pair Correlation Function obtained from K Function
pcf

Pair Correlation Function
envelope.envelope

Recompute Envelopes
pcfcross

Multitype pair correlation function (cross-type)
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
hopskel

Hopkins-Skellam Test
plot.fasp

Plot a Function Array
plot.fv

Plot Function Values
pcf.ppp

Pair Correlation Function of Point Pattern
plot.studpermutest

Plot a Studentised Permutation Test
pcf.fasp

Pair Correlation Function obtained from array of K functions
envelopeArray

Array of Simulation Envelopes of Summary Function
formula.fv

Extract or Change the Plot Formula for a Function Value Table
pcfmulti

Marked pair correlation function
hotbox

Heat Kernel for a Two-Dimensional Rectangle
plot.bermantest

Plot Result of Berman Test
localpcf

Local pair correlation function
idw

Inverse-distance weighted smoothing of observations at irregular points
localKdot

Local Multitype K Function (Dot-Type)
pcfdot.inhom

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

Pool Data from Several Function Arrays
localKinhom

Inhomogeneous Neighbourhood Density Function
nnclean

Nearest Neighbour Clutter Removal
pcfinhom

Inhomogeneous Pair Correlation Function
increment.fv

Increments of a Function
rectcontact

Contact Distribution Function using Rectangular Structuring Element
pool.fv

Pool Several Functions
reload.or.compute

Compute Unless Previously Saved
rhohat

Nonparametric Estimate of Intensity as Function of a Covariate
pool

Pool Data
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
radcumint

Radial Cumulative Integral
lohboot

Bootstrap Confidence Bands for Summary Function
plot.laslett

Plot Laslett Transform
plot.quadrattest

Display the result of a quadrat counting test.
integral.fv

Compute Integral of Function Object
rat

Ratio object
pool.quadrattest

Pool Several Quadrat Tests
nndensity.ppp

Estimate Intensity of Point Pattern Using Nearest Neighbour Distances
markconnect

Mark Connection Function
roc

Receiver Operating Characteristic
pool.rat

Pool Data from Several Ratio Objects
markcorr

Mark Correlation Function
relrisk

Estimate of Spatially-Varying Relative Risk
sdr

Sufficient Dimension Reduction
methods.ssf

Methods for Spatially Sampled Functions
thresholdSelect

Select Threshold to Convert Numerical Predictor to Binary Predictor
sdrPredict

Compute Predictors from Sufficient Dimension Reduction
stienen

Stienen Diagram
nnorient

Nearest Neighbour Orientation Distribution
transect.im

Pixel Values Along a Transect
studpermu.test

Studentised Permutation Test
spatcov

Estimate the Spatial Covariance Function of a Random Field
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
miplot

Morisita Index Plot
relrisk.ppp

Nonparametric Estimate of Spatially-Varying Relative Risk
pairs.im

Scatterplot Matrix for Pixel Images
rose

Rose Diagram
pcfdot

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

Spatial Cumulative Distribution Function
panel.contour

Panel Plots using Colour Image or Contour Lines
pool.anylist

Pool Data from a List of Objects
rotmean

Rotational Average of a Pixel Image
spatstat.explore-package

The spatstat.explore Package
ssf

Spatially Sampled Function
pool.envelope

Pool Data from Several Envelopes
plot.cdftest

Plot a Spatial Distribution Test
relriskHeat

Diffusion Estimate of Conditional Probabilities
plot.envelope

Plot a Simulation Envelope
rho2hat

Smoothed Relative Density of Pairs of Covariate Values
plot.scan.test

Plot Result of Scan Test
scan.test

Spatial Scan Test
plot.ssf

Plot a Spatially Sampled Function
quadrat.test

Dispersion Test for Spatial Point Pattern Based on Quadrat Counts
scanLRTS

Likelihood Ratio Test Statistic for Scan Test
quadrat.test.splitppp

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

Test of Spatial Segregation of Types
spatstat.explore-deprecated

Deprecated spatstat.explore functions
spatstat.explore-internal

Internal spatstat.explore functions
sharpen

Data Sharpening of Point Pattern
subspaceDistance

Distance Between Linear Spaces
with.ssf

Evaluate Expression in a Spatially Sampled Function
thresholdCI

Confidence Interval for Threshold of Numerical Predictor
with.fv

Evaluate an Expression in a Function Table
varblock

Estimate Variance of Summary Statistic by Subdivision