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

spatstat.explore (version 3.3-1)

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

52,902

Version

3.3-1

License

GPL (>= 2)

Maintainer

Last Published

July 15th, 2024

Functions in spatstat.explore (3.3-1)

Jdot

Multitype J Function (i-to-any)
compatible.fv

Test Whether Function Objects Are Compatible
Gmulti

Marked Nearest Neighbour Distance Function
PPversion

Transform a Function into its P-P or Q-Q Version
Extract.fasp

Extract Subset of Function Array
Smooth

Spatial smoothing of data
eval.fasp

Evaluate Expression Involving Function Arrays
Fest

Estimate the Empty Space Function or its Hazard Rate
Hest

Spherical Contact Distribution Function
circdensity

Density Estimation for Circular Data
localKcross

Local Multitype K Function (Cross-Type)
Finhom

Inhomogeneous Empty Space Function
Iest

Estimate the I-function
cov.im

Covariance and Correlation between Images
ssf

Spatially Sampled Function
densityAdaptiveKernel.ppp

Adaptive Kernel Estimate of Intensity of Point Pattern
Jcross

Multitype J Function (i-to-j)
Jcross.inhom

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

Apply Gaussian Blur to a Pixel Image
dg.test

Dao-Genton Adjusted Goodness-Of-Fit Test
Ksector

Sector K-function
F3est

Empty Space Function of a Three-Dimensional Point Pattern
allstats

Calculate four standard summary functions of a point pattern.
G3est

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

Multitype K Function (i-to-any)
as.function.rhohat

Convert Function Table to Function
Window.quadrattest

Extract Window of Spatial Object
bw.smoothppp

Cross Validated Bandwidth Selection for Spatial Smoothing
Emark

Diagnostics for random marking
Kmeasure

Reduced Second Moment Measure
Gest

Nearest Neighbour Distance Function G
Kcross.inhom

Inhomogeneous Cross K Function
Tstat

Third order summary statistic
Jmulti

Marked J Function
bw.pcf

Cross Validated Bandwidth Selection for Pair Correlation Function
Gdot.inhom

Inhomogeneous Multitype G Dot Function
clarkevans.test

Clark and Evans Test
Gcross.inhom

Inhomogeneous Multitype G Cross Function
Smooth.ssf

Smooth a Spatially Sampled Function
boyce

Boyce Index
as.fv

Convert Data To Class fv
Kmark

Mark-Weighted K Function
Kscaled

Locally Scaled K-function
Gdot

Multitype Nearest Neighbour Distance Function (i-to-any)
bits.test

Balanced Independent Two-Stage Monte Carlo Test
SpatialQuantile.ppp

Spatially Weighted Quantile of Values at Points
envelope.envelope

Recompute Envelopes
Jdot.inhom

Inhomogeneous Multitype J function (i-to-any)
Kdot.inhom

Inhomogeneous Multitype K Dot Function
FmultiInhom

Inhomogeneous Marked F-Function
dclf.progress

Progress Plot of Test of Spatial Pattern
Gcross

Multitype Nearest Neighbour Distance Function (i-to-j)
bw.scott

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

Bandwidth Selection for Diffusion Smoother by Likelihood Cross-Validation
Extract.fv

Extract or Replace Subset of Function Values
Math.fasp

S3 Group Generic Methods for Function Arrays
bw.ppl

Likelihood Cross Validation Bandwidth Selection for Kernel Density
pcf.fasp

Pair Correlation Function obtained from array of K functions
as.owin.quadrattest

Convert Data To Class owin
GmultiInhom

Inhomogeneous Marked G-Function
as.tess

Convert Data To Tessellation
pcf

Pair Correlation Function
compatible.fasp

Test Whether Function Arrays Are Compatible
[.ssf

Subset of spatially sampled function
plot.fasp

Plot a Function Array
compileCDF

Generic Calculation of Cumulative Distribution Function of Distances
Jmulti.inhom

Inhomogeneous Marked J-Function
with.ssf

Evaluate Expression in a Spatially Sampled Function
bind.fv

Combine Function Value Tables
densityVoronoi

Intensity Estimate of Point Pattern Using Voronoi-Dirichlet Tessellation
Linhom

Inhomogeneous L-function
Smoothfun.ppp

Smooth Interpolation of Marks as a Spatial Function
densityAdaptiveKernel.splitppp

Adaptive Kernel Estimate of Intensity for Split Point Pattern
marktable

Tabulate Marks in Neighbourhood of Every Point in a Point Pattern
as.data.frame.envelope

Coerce Envelope to Data Frame
Ginhom

Inhomogeneous Nearest Neighbour Function
Lest

L-function
Gfox

Foxall's Distance Functions
dclf.sigtrace

Significance Trace of Cressie-Loosmore-Ford or Maximum Absolute Deviation Test
fv.object

Function Value Table
Lcross

Multitype L-function (cross-type)
K3est

K-function of a Three-Dimensional Point Pattern
formula.fv

Extract or Change the Plot Formula for a Function Value Table
plot.scan.test

Plot Result of Scan Test
Ldot

Multitype L-function (i-to-any)
eval.fv

Evaluate Expression Involving Functions
bw.CvL.adaptive

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

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

Bandwidth Selection Based on Window Geometry
Kest

K-function
distcdf

Distribution Function of Interpoint Distance
alltypes

Calculate Summary Statistic for All Types in a Multitype Point Pattern
plot.cdftest

Plot a Spatial Distribution Test
Ldot.inhom

Inhomogeneous Multitype L Dot Function
Math.fv

S3 Group Generic Methods for Function Tables
bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation
bits.envelope

Global Envelopes for Balanced Independent Two-Stage Test
compileK

Generic Calculation of K Function and Pair Correlation Function
fryplot

Fry Plot of Point Pattern
fasp.object

Function Arrays for Spatial Patterns
plot.fv

Plot Function Values
pcfcross

Multitype pair correlation function (cross-type)
dimhat

Estimate Dimension of Central Subspace
SpatialMedian.ppp

Spatially Weighted Median of Values at Points
Kcross

Multitype K Function (Cross-type)
pcf.ppp

Pair Correlation Function of Point Pattern
Kinhom

Inhomogeneous K-function
densityHeat

Diffusion Estimate of Point Pattern Intensity
density.psp

Kernel Smoothing of Line Segment Pattern
pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern
localKcross.inhom

Inhomogeneous Multitype K Function
adaptive.density

Adaptive Estimate of Intensity of Point Pattern
Kest.fft

K-function using FFT
collapse.fv

Collapse Several Function Tables into One
methods.rho2hat

Methods for Intensity Functions of Two Spatial Covariates
spatstat.explore-internal

Internal spatstat.explore functions
stienen

Stienen Diagram
markcorr

Mark Correlation Function
cdf.test

Spatial Distribution Test for Point Pattern or Point Process Model
nndensity.ppp

Estimate Intensity of Point Pattern Using Nearest Neighbour Distances
Smooth.fv

Apply Smoothing to Function Values
densityfun.ppp

Kernel Estimate of Intensity as a Spatial Function
Jest

Estimate the J-function
envelope

Simulation Envelopes of Summary Function
hotbox

Heat Kernel for a Two-Dimensional Rectangle
pcf.fv

Pair Correlation Function obtained from K Function
rotmean

Rotational Average of a Pixel Image
Lcross.inhom

Inhomogeneous Cross Type L Function
scan.test

Spatial Scan Test
plot.bermantest

Plot Result of Berman Test
laslett

Laslett's Transform
markcrosscorr

Mark Cross-Correlation Function
fvnames

Abbreviations for Groups of Columns in Function Value Table
Jinhom

Inhomogeneous J-function
domain.quadrattest

Extract the Domain of any Spatial Object
clusterset

Allard-Fraley Estimator of Cluster Feature
dg.envelope

Global Envelopes for Dao-Genton Test
deriv.fv

Calculate Derivative of Function Values
pairMean

Mean of a Function of Interpoint Distance
rectcontact

Contact Distribution Function using Rectangular Structuring Element
markmarkscatter

Mark-Mark Scatter Plot
bw.abram.ppp

Abramson's Adaptive Bandwidths For Spatial Point Pattern
localK

Neighbourhood density function
markconnect

Mark Connection Function
quadrat.test

Dispersion Test for Spatial Point Pattern Based on Quadrat Counts
idw

Inverse-distance weighted smoothing of observations at irregular points
rho2hat

Smoothed Relative Density of Pairs of Covariate Values
radcumint

Radial Cumulative Integral
Kmulti

Marked K-Function
rat

Ratio object
pool.anylist

Pool Data from a List of Objects
pool.envelope

Pool Data from Several Envelopes
Smooth.ppp

Spatial smoothing of observations at irregular points
nnorient

Nearest Neighbour Orientation Distribution
increment.fv

Increments of a Function
edge.Ripley

Ripley's Isotropic Edge Correction
envelopeArray

Array of Simulation Envelopes of Summary Function
with.fv

Evaluate an Expression in a Function Table
Kmulti.inhom

Inhomogeneous Marked K-Function
as.function.fv

Convert Function Value Table to Function
reload.or.compute

Compute Unless Previously Saved
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
pool.fv

Pool Several Functions
densityHeat.ppp

Diffusion Estimate of Point Pattern Intensity
density.ppp

Kernel Smoothed Intensity of Point Pattern
bw.stoyan

Stoyan's Rule of Thumb for Bandwidth Selection
quadrat.test.splitppp

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

Create a Function Value Table
localKdot

Local Multitype K Function (Dot-Type)
rhohat

Nonparametric Estimate of Intensity as Function of a Covariate
pairorient

Point Pair Orientation Distribution
bw.CvL

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

Simulation Envelopes of Summary Function for 3D Point Pattern
plot.envelope

Plot a Simulation Envelope
pool.rat

Pool Data from Several Ratio Objects
dclf.test

Diggle-Cressie-Loosmore-Ford and Maximum Absolute Deviation Tests
bw.diggle

Cross Validated Bandwidth Selection for Kernel Density
sdrPredict

Compute Predictors from Sufficient Dimension Reduction
SpatialQuantile

Spatially Weighted Median or Quantile
sharpen

Data Sharpening of Point Pattern
relrisk.ppp

Nonparametric Estimate of Spatially-Varying Relative Risk
spatcov

Estimate the Spatial Covariance Function of a Random Field
auc

Area Under ROC Curve
berman.test

Berman's Tests for Point Process Model
clarkevans

Clark and Evans Aggregation Index
dg.progress

Progress Plot of Dao-Genton Test of Spatial Pattern
bw.optim.object

Class of Optimized Bandwidths
methods.ssf

Methods for Spatially Sampled Functions
integral.fv

Compute Integral of Function Object
nnclean

Nearest Neighbour Clutter Removal
methods.rhohat

Methods for Intensity Functions of Spatial Covariate
relrisk

Estimate of Spatially-Varying Relative Risk
harmonise.fv

Make Function Tables Compatible
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
pcfmulti

Marked pair correlation function
scanLRTS

Likelihood Ratio Test Statistic for Scan Test
panel.contour

Panel Plots using Colour Image or Contour Lines
dg.sigtrace

Significance Trace of Dao-Genton Test
pcfinhom

Inhomogeneous Pair Correlation Function
localpcf

Local pair correlation function
pool.quadrattest

Pool Several Quadrat Tests
plot.ssf

Plot a Spatially Sampled Function
roc

Receiver Operating Characteristic
spatialcdf

Spatial Cumulative Distribution Function
edge.Trans

Translation Edge Correction
pairs.im

Scatterplot Matrix for Pixel Images
pool.fasp

Pool Data from Several Function Arrays
lohboot

Bootstrap Confidence Bands for Summary Function
plot.studpermutest

Plot a Studentised Permutation Test
markvario

Mark Variogram
transect.im

Pixel Values Along a Transect
spatstat.explore-deprecated

Deprecated spatstat.explore functions
pcfdot.inhom

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

Rose Diagram
hopskel

Hopkins-Skellam Test
plot.laslett

Plot Laslett Transform
plot.quadrattest

Display the result of a quadrat counting test.
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
varblock

Estimate Variance of Summary Statistic by Subdivision
localKinhom

Inhomogeneous Neighbourhood Density Function
miplot

Morisita Index Plot
studpermu.test

Studentised Permutation Test
sdr

Sufficient Dimension Reduction
pcfdot

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

Distance Between Linear Spaces
pool

Pool Data
thresholdSelect

Select Threshold to Convert Numerical Predictor to Binary Predictor
segregation.test

Test of Spatial Segregation of Types
thresholdCI

Confidence Interval for Threshold of Numerical Predictor
spatstat.explore-package

The spatstat.explore Package