Learn R Programming

spatstat.explore (version 3.3-2)

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-2

License

GPL (>= 2)

Maintainer

Last Published

August 21st, 2024

Functions in spatstat.explore (3.3-2)

Emark

Diagnostics for random marking
Extract.fv

Extract or Replace Subset of Function Values
Gcross

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

Inhomogeneous Empty Space Function
Extract.fasp

Extract Subset of Function Array
FmultiInhom

Inhomogeneous Marked F-Function
F3est

Empty Space Function of a Three-Dimensional Point Pattern
[.ssf

Subset of spatially sampled function
Hest

Spherical Contact Distribution Function
Fest

Estimate the Empty Space Function or its Hazard Rate
Gdot.inhom

Inhomogeneous Multitype G Dot Function
Gest

Nearest Neighbour Distance Function G
Iest

Estimate the I-function
Jest

Estimate the J-function
Jdot

Multitype J Function (i-to-any)
Jinhom

Inhomogeneous J-function
Jmulti

Marked J Function
Jmulti.inhom

Inhomogeneous Marked J-Function
Jdot.inhom

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

Marked Nearest Neighbour Distance Function
Gcross.inhom

Inhomogeneous Multitype G Cross Function
Gdot

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

Inhomogeneous Marked G-Function
Kmark

Mark-Weighted K Function
Gfox

Foxall's Distance Functions
Kmeasure

Reduced Second Moment Measure
Kmulti

Marked K-Function
Ginhom

Inhomogeneous Nearest Neighbour Function
Kmulti.inhom

Inhomogeneous Marked K-Function
Ldot

Multitype L-function (i-to-any)
Math.fasp

S3 Group Generic Methods for Function Arrays
Ldot.inhom

Inhomogeneous Multitype L Dot Function
SpatialQuantile.ppp

Spatially Weighted Quantile of Values at Points
Kdot.inhom

Inhomogeneous Multitype K Dot Function
Kest

K-function
Jcross

Multitype J Function (i-to-j)
K3est

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

S3 Group Generic Methods for Function Tables
Lest

L-function
Kcross

Multitype K Function (Cross-type)
Jcross.inhom

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

Inhomogeneous L-function
Tstat

Third order summary statistic
PPversion

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

Spatial smoothing of data
Kscaled

Locally Scaled K-function
Kest.fft

K-function using FFT
Kinhom

Inhomogeneous K-function
Ksector

Sector K-function
Kcross.inhom

Inhomogeneous Cross K Function
as.data.frame.envelope

Coerce Envelope to Data Frame
Kdot

Multitype K Function (i-to-any)
SpatialMedian.ppp

Spatially Weighted Median of Values at Points
SpatialQuantile

Spatially Weighted Median or Quantile
Smooth.fv

Apply Smoothing to Function Values
Lcross

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

Inhomogeneous Cross Type L Function
Smooth.ppp

Spatial smoothing of observations at irregular points
as.function.fv

Convert Function Value Table to Function
Window.quadrattest

Extract Window of Spatial Object
as.owin.quadrattest

Convert Data To Class owin
adaptive.density

Adaptive Estimate of Intensity of Point Pattern
boyce

Boyce Index
Smooth.ssf

Smooth a Spatially Sampled Function
allstats

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

Smooth Interpolation of Marks as a Spatial Function
bind.fv

Combine Function Value Tables
bits.envelope

Global Envelopes for Balanced Independent Two-Stage Test
bw.CvL

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

Bandwidth Selection Based on Window Geometry
as.tess

Convert Data To Tessellation
as.function.rhohat

Convert Function Table to Function
alltypes

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

Convert Data To Class fv
bw.optim.object

Class of Optimized Bandwidths
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.adaptive

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

Stoyan's Rule of Thumb for Bandwidth Selection
compatible.fv

Test Whether Function Objects Are Compatible
bw.CvLHeat

Bandwidth Selection for Diffusion Smoother by Cronie-van Lieshout Rule
cdf.test

Spatial Distribution Test for Point Pattern or Point Process Model
auc

Area Under ROC Curve
density.psp

Kernel Smoothing of Line Segment Pattern
compileCDF

Generic Calculation of Cumulative Distribution Function of Distances
bw.scott

Scott's Rule for Bandwidth Selection for Kernel Density
densityAdaptiveKernel.ppp

Adaptive Kernel Estimate of Intensity of Point Pattern
berman.test

Berman's Tests for Point Process Model
densityAdaptiveKernel.splitppp

Adaptive Kernel Estimate of Intensity for Split Point Pattern
bw.smoothppp

Cross Validated Bandwidth Selection for Spatial Smoothing
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
clarkevans.test

Clark and Evans Test
clusterset

Allard-Fraley Estimator of Cluster Feature
edge.Ripley

Ripley's Isotropic Edge Correction
edge.Trans

Translation Edge Correction
fasp.object

Function Arrays for Spatial Patterns
densityHeat

Diffusion Estimate of Point Pattern Intensity
compileK

Generic Calculation of K Function and Pair Correlation Function
bw.abram.ppp

Abramson's Adaptive Bandwidths For Spatial Point Pattern
blur

Apply Gaussian Blur to a Pixel Image
densityHeat.ppp

Diffusion Estimate of Point Pattern Intensity
bw.diggle

Cross Validated Bandwidth Selection for Kernel Density
cov.im

Covariance and Correlation between Images
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
bw.pcf

Cross Validated Bandwidth Selection for Pair Correlation Function
collapse.fv

Collapse Several Function Tables into One
formula.fv

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

Diggle-Cressie-Loosmore-Ford and Maximum Absolute Deviation Tests
density.ppp

Kernel Smoothed Intensity of Point Pattern
compatible.fasp

Test Whether Function Arrays Are Compatible
envelopeArray

Array of Simulation Envelopes of Summary Function
bw.ppl

Likelihood Cross Validation Bandwidth Selection for Kernel Density
densityVoronoi

Intensity Estimate of Point Pattern Using Voronoi-Dirichlet Tessellation
dg.progress

Progress Plot of Dao-Genton Test of Spatial Pattern
deriv.fv

Calculate Derivative of Function Values
fryplot

Fry Plot of Point Pattern
densityfun.ppp

Kernel Estimate of Intensity as a Spatial Function
dg.envelope

Global Envelopes for Dao-Genton Test
fv

Create a Function Value Table
dg.sigtrace

Significance Trace of Dao-Genton Test
increment.fv

Increments of a Function
integral.fv

Compute Integral of Function Object
circdensity

Density Estimation for Circular Data
distcdf

Distribution Function of Interpoint Distance
localKcross

Local Multitype K Function (Cross-Type)
markconnect

Mark Connection Function
envelope

Simulation Envelopes of Summary Function
markcorr

Mark Correlation Function
localKcross.inhom

Inhomogeneous Multitype K Function
domain.quadrattest

Extract the Domain of any Spatial Object
clarkevans

Clark and Evans Aggregation Index
harmonise.fv

Make Function Tables Compatible
envelope.envelope

Recompute Envelopes
eval.fasp

Evaluate Expression Involving Function Arrays
hopskel

Hopkins-Skellam Test
lohboot

Bootstrap Confidence Bands for Summary Function
spatstat.explore-deprecated

Deprecated spatstat.explore functions
marktable

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

Evaluate Expression Involving Functions
markvario

Mark Variogram
localpcf

Local pair correlation function
dclf.progress

Progress Plot of Test of Spatial Pattern
nndensity.ppp

Estimate Intensity of Point Pattern Using Nearest Neighbour Distances
nnorient

Nearest Neighbour Orientation Distribution
methods.ssf

Methods for Spatially Sampled Functions
laslett

Laslett's Transform
miplot

Morisita Index Plot
plot.bermantest

Plot Result of Berman Test
pcfmulti

Marked pair correlation function
localK

Neighbourhood density function
dclf.sigtrace

Significance Trace of Cressie-Loosmore-Ford or Maximum Absolute Deviation Test
plot.scan.test

Plot Result of Scan Test
spatialcdf

Spatial Cumulative Distribution Function
plot.ssf

Plot a Spatially Sampled Function
pcf.fv

Pair Correlation Function obtained from K Function
nnclean

Nearest Neighbour Clutter Removal
fv.object

Function Value Table
pcf.ppp

Pair Correlation Function of Point Pattern
plot.fasp

Plot a Function Array
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
plot.fv

Plot Function Values
quadrat.test

Dispersion Test for Spatial Point Pattern Based on Quadrat Counts
pcfdot.inhom

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

Pool Data from Several Ratio Objects
dg.test

Dao-Genton Adjusted Goodness-Of-Fit Test
fvnames

Abbreviations for Groups of Columns in Function Value Table
pcfinhom

Inhomogeneous Pair Correlation Function
markcrosscorr

Mark Cross-Correlation Function
quadrat.test.splitppp

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

Pair Correlation Function
rho2hat

Smoothed Relative Density of Pairs of Covariate Values
pcf.fasp

Pair Correlation Function obtained from array of K functions
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
pcfdot

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

Mark-Mark Scatter Plot
radcumint

Radial Cumulative Integral
pool.quadrattest

Pool Several Quadrat Tests
varblock

Estimate Variance of Summary Statistic by Subdivision
ssf

Spatially Sampled Function
rat

Ratio object
plot.cdftest

Plot a Spatial Distribution Test
rhohat

Nonparametric Estimate of Intensity as Function of a Covariate
transect.im

Pixel Values Along a Transect
roc

Receiver Operating Characteristic
dimhat

Estimate Dimension of Central Subspace
spatstat.explore-package

The spatstat.explore Package
spatstat.explore-internal

Internal spatstat.explore functions
stienen

Stienen Diagram
plot.envelope

Plot a Simulation Envelope
pool.anylist

Pool Data from a List of Objects
pairs.im

Scatterplot Matrix for Pixel Images
rose

Rose Diagram
sdrPredict

Compute Predictors from Sufficient Dimension Reduction
pool.envelope

Pool Data from Several Envelopes
segregation.test

Test of Spatial Segregation of Types
with.ssf

Evaluate Expression in a Spatially Sampled Function
with.fv

Evaluate an Expression in a Function Table
relrisk

Estimate of Spatially-Varying Relative Risk
relrisk.ppp

Nonparametric Estimate of Spatially-Varying Relative Risk
panel.contour

Panel Plots using Colour Image or Contour Lines
pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern
pcfcross

Multitype pair correlation function (cross-type)
hotbox

Heat Kernel for a Two-Dimensional Rectangle
plot.studpermutest

Plot a Studentised Permutation Test
thresholdCI

Confidence Interval for Threshold of Numerical Predictor
pool

Pool Data
idw

Inverse-distance weighted smoothing of observations at irregular points
thresholdSelect

Select Threshold to Convert Numerical Predictor to Binary Predictor
reload.or.compute

Compute Unless Previously Saved
rectcontact

Contact Distribution Function using Rectangular Structuring Element
localKdot

Local Multitype K Function (Dot-Type)
scanLRTS

Likelihood Ratio Test Statistic for Scan Test
sdr

Sufficient Dimension Reduction
localKinhom

Inhomogeneous Neighbourhood Density Function
methods.rho2hat

Methods for Intensity Functions of Two Spatial Covariates
methods.rhohat

Methods for Intensity Functions of Spatial Covariate
pairMean

Mean of a Function of Interpoint Distance
pairorient

Point Pair Orientation Distribution
plot.laslett

Plot Laslett Transform
plot.quadrattest

Display the result of a quadrat counting test.
pool.fasp

Pool Data from Several Function Arrays
pool.fv

Pool Several Functions
rotmean

Rotational Average of a Pixel Image
scan.test

Spatial Scan Test
spatcov

Estimate the Spatial Covariance Function of a Random Field
sharpen

Data Sharpening of Point Pattern
studpermu.test

Studentised Permutation Test
subspaceDistance

Distance Between Linear Spaces
G3est

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