Learn R Programming

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

spatstat.core (version 2.1-2)

Core Functionality of the 'spatstat' Family

Description

Functionality for data analysis and modelling 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'.) Exploratory 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. Parametric models can be fitted to point pattern data using the functions ppm(), kppm(), slrm(), dppm() similar to glm(). Types of models include Poisson, Gibbs and Cox point processes, Neyman-Scott cluster processes, and determinantal point processes. Models may involve dependence on covariates, inter-point interaction, cluster formation and dependence on marks. Models are fitted by maximum likelihood, logistic regression, minimum contrast, and composite likelihood methods. A model can be fitted to a list of point patterns (replicated point pattern data) using the function mppm(). The model can include random effects and fixed effects depending on the experimental design, in addition to all the features listed above. Fitted point process models can be simulated, automatically. Formal hypothesis tests of a fitted model are supported (likelihood ratio test, analysis of deviance, Monte Carlo tests) along with basic tools for model selection (stepwise(), AIC()) and variable selection (sdr). Tools for validating the fitted model include simulation envelopes, residuals, residual plots and Q-Q plots, leverage and influence diagnostics, partial residuals, and added variable plots.

Copy Link

Version

Install

install.packages('spatstat.core')

Monthly Downloads

255

Version

2.1-2

License

GPL (>= 2)

Maintainer

Adrian Baddeley

Last Published

April 18th, 2021

Functions in spatstat.core (2.1-2)

AreaInter

The Area Interaction Point Process Model
Emark

Diagnostics for random marking
Extract.fasp

Extract Subset of Function Array
DiggleGatesStibbard

Diggle-Gates-Stibbard Point Process Model
Extract.leverage.ppm

Extract Subset of Leverage Object
DiggleGratton

Diggle-Gratton model
Extract.msr

Extract Subset of Signed or Vector Measure
CDF

Cumulative Distribution Function From Kernel Density Estimate
G3est

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

The Connected Component Process Model
[.ssf

Subset of spatially sampled function
Gcom

Model Compensator of Nearest Neighbour Function
F3est

Empty Space Function of a Three-Dimensional Point Pattern
BadGey

Hybrid Geyer Point Process Model
Fiksel

The Fiksel Interaction
Fest

Estimate the Empty Space Function or its Hazard Rate
Gres

Residual G Function
Gest

Nearest Neighbour Distance Function G
Hardcore

The Hard Core Point Process Model
Geyer

Geyer's Saturation Point Process Model
Gcross

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

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

Multitype J Function (i-to-any)
Jcross

Multitype J Function (i-to-j)
Kcom

Model Compensator of K Function
Kdot.inhom

Inhomogeneous Multitype K Dot Function
Extract.fv

Extract or Replace Subset of Function Values
Kest

K-function
Hybrid

Hybrid Interaction Point Process Model
Gmulti

Marked Nearest Neighbour Distance Function
GmultiInhom

Inhomogeneous Marked G-Function
Kcross

Multitype K Function (Cross-type)
Gfox

Foxall's Distance Functions
Ginhom

Inhomogeneous Nearest Neighbour Function
Iest

Estimate the I-function
Jest

Estimate the J-function
Jinhom

Inhomogeneous J-function
Kmodel

K Function or Pair Correlation Function of a Point Process Model
Hest

Spherical Contact Distribution Function
Kmodel.dppm

K-function or Pair Correlation Function of a Determinantal Point Process Model
Extract.influence.ppm

Extract Subset of Influence Object
Kcross.inhom

Inhomogeneous Cross K Function
Kmark

Mark-Weighted K Function
Ksector

Sector K-function
Kdot

Multitype K Function (i-to-any)
LambertW

Lambert's W Function
Kmeasure

Reduced Second Moment Measure
OrdThresh

Ord's Interaction model
PPversion

Transform a Function into its P-P or Q-Q Version
Kest.fft

K-function using FFT
HierHard

The Hierarchical Hard Core Point Process Model
anova.mppm

ANOVA for Fitted Point Process Models for Replicated Patterns
Finhom

Inhomogeneous Empty Space Function
anova.ppm

ANOVA for Fitted Point Process Models
Lcross

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

Inhomogeneous Cross Type L Function
as.owin

Convert Data To Class owin
Kinhom

Inhomogeneous K-function
Poisson

Poisson Point Process Model
Penttinen

Penttinen Interaction
FmultiInhom

Inhomogeneous Marked F-Function
Jmulti

Marked J Function
K3est

K-function of a Three-Dimensional Point Pattern
Kmodel.ppm

K Function or Pair Correlation Function of Gibbs Point Process model
Kmodel.kppm

K Function or Pair Correlation Function of Cluster Model or Cox model
as.ppm

Extract Fitted Point Process Model
Smooth.ppp

Spatial smoothing of observations at irregular points
Smooth.msr

Smooth a Signed or Vector-Valued Measure
Tstat

Third order summary statistic
WindowOnly

Extract Window of Spatial Object
berman.test

Berman's Tests for Point Process Model
bind.fv

Combine Function Value Tables
LennardJones

The Lennard-Jones Potential
Linhom

Inhomogeneous L-function
MultiHard

The Multitype Hard Core Point Process Model
Lest

L-function
Ops.msr

Arithmetic Operations on Measures
auc

Area Under ROC Curve
bc.ppm

Bias Correction for Fitted Model
Ord

Generic Ord Interaction model
Kmulti

Marked K-Function
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
Kmulti.inhom

Inhomogeneous Marked K-Function
Pairwise

Generic Pairwise Interaction model
HierStrauss

The Hierarchical Strauss Point Process Model
coef.ppm

Coefficients of Fitted Point Process Model
coef.mppm

Coefficients of Point Process Model Fitted to Multiple Point Patterns
HierStraussHard

The Hierarchical Strauss Hard Core Point Process Model
Softcore

The Soft Core Point Process Model
Strauss

The Strauss Point Process Model
adaptive.density

Adaptive Estimate of Intensity of Point Pattern
as.layered.msr

Convert Measure To Layered Object
addvar

Added Variable Plot for Point Process Model
MultiStrauss

The Multitype Strauss Point Process Model
as.interact

Extract Interaction Structure
SatPiece

Piecewise Constant Saturated Pairwise Interaction Point Process Model
MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
Kscaled

Locally Scaled K-function
Kres

Residual K Function
Ldot

Multitype L-function (i-to-any)
Ldot.inhom

Inhomogeneous Multitype L Dot Function
Smooth

Spatial smoothing of data
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
Smooth.fv

Apply Smoothing to Function Values
densityAdaptiveKernel

Adaptive Kernel Estimate of Intensity of Point Pattern
Smoothfun.ppp

Smooth Interpolation of Marks as a Spatial Function
Smooth.ssf

Smooth a Spatially Sampled Function
StraussHard

The Strauss / Hard Core Point Process Model
allstats

Calculate four standard summary functions of a point pattern.
alltypes

Calculate Summary Statistic for All Types in a Multitype Point Pattern
Saturated

Saturated Pairwise Interaction model
bw.stoyan

Stoyan's Rule of Thumb for Bandwidth Selection
bw.CvLHeat

Bandwidth Selection for Diffusion Smoother by Cronie-van Lieshout Rule
anova.slrm

Analysis of Deviance for Spatial Logistic Regression Models
Triplets

The Triplet Point Process Model
bw.abram

Abramson's Adaptive Bandwidths
as.function.rhohat

Convert Function Table to Function
as.data.frame.envelope

Coerce Envelope to Data Frame
cauchy.estK

Fit the Neyman-Scott cluster process with Cauchy kernel
bw.smoothppp

Cross Validated Bandwidth Selection for Spatial Smoothing
bw.scott

Scott's Rule for Bandwidth Selection for Kernel Density
cdf.test.mppm

Spatial Distribution Test for Multiple Point Process Model
circdensity

Density Estimation for Circular Data
bw.diggle

Cross Validated Bandwidth Selection for Kernel Density
bw.frac

Bandwidth Selection Based on Window Geometry
as.function.fv

Convert Function Value Table to Function
as.function.leverage.ppm

Convert Leverage Object to Function of Coordinates
default.rmhcontrol

Set Default Control Parameters for Metropolis-Hastings Algorithm.
default.expand

Default Expansion Rule for Simulation of Model
clarkevans

Clark and Evans Aggregation Index
dppm

Fit Determinantal Point Process Model
dppspecdenrange

Range of Spectral Density of a Determinantal Point Process Model
dimhat

Estimate Dimension of Central Subspace
closepaircounts

Count Close Pairs of Points
clarkevans.test

Clark and Evans Test
as.fv

Convert Data To Class fv
clusterfield

Field of clusters
distcdf

Distribution Function of Interpoint Distance
collapse.fv

Collapse Several Function Tables into One
bits.envelope

Global Envelopes for Balanced Independent Two-Stage Test
coef.slrm

Coefficients of Fitted Spatial Logistic Regression Model
deriv.fv

Calculate Derivative of Function Values
detpointprocfamilyfun

Construct a New Determinantal Point Process Model Family Function
dppspecden

Extract Spectral Density from Determinantal Point Process Model Object
bits.test

Balanced Independent Two-Stage Monte Carlo Test
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
dppparbounds

Parameter Bound for a Determinantal Point Process Model
dmixpois

Mixed Poisson Distribution
methods.dppm

Methods for Determinantal Point Process Models
dkernel

Kernel distributions and random generation
methods.zclustermodel

Methods for Cluster Models
bw.ppl

Likelihood Cross Validation Bandwidth Selection for Kernel Density
plot.slrm

Plot a Fitted Spatial Logistic Regression
bw.pcf

Cross Validated Bandwidth Selection for Pair Correlation Function
cauchy.estpcf

Fit the Neyman-Scott cluster process with Cauchy kernel
dppMatern

Whittle-Matern Determinantal Point Process Model
dppPowerExp

Power Exponential Spectral Determinantal Point Process Model
fitted.mppm

Fitted Conditional Intensity for Multiple Point Process Model
clusterradius

Compute or Extract Effective Range of Cluster Kernel
cdf.test

Spatial Distribution Test for Point Pattern or Point Process Model
fitted.ppm

Fitted Conditional Intensity for Point Process Model
blur

Apply Gaussian Blur to a Pixel Image
dfbetas.ppm

Parameter Influence Measure
envelopeArray

Array of Simulation Envelopes of Summary Function
compatible.fasp

Test Whether Function Arrays Are Compatible
compareFit

Residual Diagnostics for Multiple Fitted Models
clusterset

Allard-Fraley Estimator of Cluster Feature
exactMPLEstrauss

Exact Maximum Pseudolikelihood Estimate for Stationary Strauss Process
dffit.ppm

Case Deletion Effect Measure of Fitted Model
bw.CvL

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

Significance Trace of Cressie-Loosmore-Ford or Maximum Absolute Deviation Test
bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation
bw.pplHeat

Bandwidth Selection for Diffusion Smoother by Likelihood Cross-Validation
expand.owin

Apply Expansion Rule
dclf.test

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

Fit Cluster or Cox Point Process Model via Minimum Contrast
density.ppp

Kernel Smoothed Intensity of Point Pattern
clusterkernel

Extract Cluster Offspring Kernel
compatible.fv

Test Whether Function Objects Are Compatible
compileK

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

Kernel Smoothing of Line Segment Pattern
pcfinhom

Inhomogeneous Pair Correlation Function
hopskel

Hopkins-Skellam Test
is.dppm

Recognise Fitted Determinantal Point Process Models
lohboot

Bootstrap Confidence Bands for Summary Function
hierpair.family

Hierarchical Pairwise Interaction Process Family
harmonise.fv

Make Function Tables Compatible
harmonise.msr

Make Measures Compatible
is.hybrid

Test Whether Object is a Hybrid
dppapproxpcf

Approximate Pair Correlation Function of Determinantal Point Process Model
ord.family

Ord Interaction Process Family
envelope.envelope

Recompute Envelopes
formula.ppm

Model Formulae for Gibbs Point Process Models
kernel.moment

Moment of Smoothing Kernel
kernel.factor

Scale factor for density kernel
diagnose.ppm

Diagnostic Plots for Fitted Point Process Model
densityHeat

Diffusion Estimate of Point Pattern Intensity
methods.kppm

Methods for Cluster Point Process Models
densityHeat.ppp

Diffusion Estimate of Point Pattern Intensity
dg.envelope

Global Envelopes for Dao-Genton Test
rat

Ratio object
envelope

Simulation Envelopes of Summary Function
dg.progress

Progress Plot of Dao-Genton Test of Spatial Pattern
markcrosscorr

Mark Cross-Correlation Function
dppeigen

Internal function calculating eig and index
hotbox

Heat Kernel for a Two-Dimensional Rectangle
localKcross

Local Multitype K Function (Cross-Type)
ppmInfluence

Leverage and Influence Measures for Spatial Point Process Model
localKcross.inhom

Inhomogeneous Multitype K Function
markcorr

Mark Correlation Function
dppapproxkernel

Approximate Determinantal Point Process Kernel
dppBessel

Bessel Type Determinantal Point Process Model
edge.Ripley

Ripley's Isotropic Edge Correction
dppkernel

Extract Kernel from Determinantal Point Process Model Object
domain

Extract the Domain of any Spatial Object
data.ppm

Extract Original Data from a Fitted Point Process Model
is.marked.ppm

Test Whether A Point Process Model is Marked
methods.leverage.ppm

Methods for Leverage Objects
dclf.progress

Progress Plot of Test of Spatial Pattern
plot.cdftest

Plot a Spatial Distribution Test
densityfun.ppp

Kernel Estimate of Intensity as a Spatial Function
densityVoronoi

Intensity Estimate of Point Pattern Using Voronoi-Dirichlet Tessellation
lurking

Lurking Variable Plot
rMatClust

Simulate Matern Cluster Process
pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern
edge.Trans

Translation Edge Correction
fixef.mppm

Extract Fixed Effects from Point Process Model
dg.sigtrace

Significance Trace of Dao-Genton Test
dg.test

Dao-Genton Adjusted Goodness-Of-Fit Test
dim.detpointprocfamily

Dimension of Determinantal Point Process Model
predict.mppm

Prediction for Fitted Multiple Point Process Model
residuals.mppm

Residuals for Point Process Model Fitted to Multiple Point Patterns
isf.object

Interaction Structure Family Objects
pairorient

Point Pair Orientation Distribution
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
pcfdot.inhom

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

Hybrid Interaction Family
print.ppm

Print a Fitted Point Process Model
influence.ppm

Influence Measure for Spatial Point Process Model
fitted.slrm

Fitted Probabilities for Spatial Logistic Regression
plot.profilepl

Plot Profile Likelihood
plot.scan.test

Plot Result of Scan Test
methods.ssf

Methods for Spatially Sampled Functions
prune.rppm

Prune a Recursively Partitioned Point Process Model
pcfcross

Multitype pair correlation function (cross-type)
kppm

Fit Cluster or Cox Point Process Model
measureVariation

Positive and Negative Parts, and Variation, of a Measure
parameters

Extract Model Parameters in Understandable Form
plot.dppm

Plot a fitted determinantal point process
quadrat.test.splitppp

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

Theoretical Distribution of Nearest Neighbour Distance
rmhmodel.default

Build Point Process Model for Metropolis-Hastings Simulation.
plot.ppm

plot a Fitted Point Process Model
rLGCP

Simulate Log-Gaussian Cox Process
quadratresample

Resample a Point Pattern by Resampling Quadrats
laslett

Laslett's Transform
ppm.ppp

Fit Point Process Model to Point Pattern Data
is.multitype.ppm

Test Whether A Point Process Model is Multitype
inforder.family

Infinite Order Interaction Family
emend

Force Model to be Valid
dppCauchy

Generalized Cauchy Determinantal Point Process Model
residuals.kppm

Residuals for Fitted Cox or Cluster Point Process Model
model.images

Compute Images of Constructed Covariates
pcf.fv

Pair Correlation Function obtained from K Function
model.matrix.mppm

Extract Design Matrix of Point Process Model for Several Point Patterns
dummify

Convert Data to Numeric Values by Constructing Dummy Variables
rpoisppx

Generate Poisson Point Pattern in Any Dimensions
localKinhom

Inhomogeneous Neighbourhood Density Function
dummy.ppm

Extract Dummy Points Used to Fit a Point Process Model
rMaternI

Simulate Matern Model I
pool.quadrattest

Pool Several Quadrat Tests
plot.kppm

Plot a fitted cluster point process
parres

Partial Residuals for Point Process Model
dppGauss

Gaussian Determinantal Point Process Model
pseudoR2

Calculate Pseudo-R-Squared for Point Process Model
mppm

Fit Point Process Model to Several Point Patterns
fryplot

Fry Plot of Point Pattern
rex

Richardson Extrapolation
plot.plotppm

Plot a plotppm Object Created by plot.ppm
localKdot

Local Multitype K Function (Dot-Type)
logLik.kppm

Log Likelihood and AIC for Fitted Cox or Cluster Point Process Model
logLik.mppm

Log Likelihood and AIC for Multiple Point Process Model
pool.rat

Pool Data from Several Ratio Objects
plot.laslett

Plot Laslett Transform
qqplot.ppm

Q-Q Plot of Residuals from Fitted Point Process Model
runifpoint3

Generate N Uniform Random Points in Three Dimensions
quad.ppm

Extract Quadrature Scheme Used to Fit a Point Process Model
rags

Alternating Gibbs Sampler for Multitype Point Processes
rMaternII

Simulate Matern Model II
emend.ppm

Force Point Process Model to be Valid
relrisk

Estimate of Spatially-Varying Relative Risk
rppm

Recursively Partitioned Point Process Model
ragsAreaInter

Alternating Gibbs Sampler for Area-Interaction Process
predict.ppm

Prediction from a Fitted Point Process Model
ragsMultiHard

Alternating Gibbs Sampler for Multitype Hard Core Process
rshift

Random Shift
formula.fv

Extract or Change the Plot Formula for a Function Value Table
range.fv

Range of Function Values
eval.fv

Evaluate Expression Involving Functions
fvnames

Abbreviations for Groups of Columns in Function Value Table
gauss.hermite

Gauss-Hermite Quadrature Approximation to Expectation for Normal Distribution
eval.fasp

Evaluate Expression Involving Function Arrays
reload.or.compute

Compute Unless Previously Saved
ranef.mppm

Extract Random Effects from Point Process Model
residuals.ppm

Residuals for Fitted Point Process Model
with.ssf

Evaluate Expression in a Spatially Sampled Function
harmonic

Basis for Harmonic Functions
kernel.squint

Integral of Squared Kernel
spatstat.core-deprecated

Deprecated spatstat.core functions
rlabel

Random Re-Labelling of Point Pattern
improve.kppm

Improve Intensity Estimate of Fitted Cluster Point Process Model
rpoint

Generate N Random Points
scanLRTS

Likelihood Ratio Test Statistic for Scan Test
methods.objsurf

Methods for Objective Function Surfaces
pcfdot

Multitype pair correlation function (i-to-any)
intensity.ppm

Intensity of Fitted Point Process Model
localpcf

Local pair correlation function
methods.rhohat

Methods for Intensity Functions of Spatial Covariate
fv.object

Function Value Table
rshift.psp

Randomly Shift a Line Segment Pattern
ippm

Fit Point Process Model Involving Irregular Trend Parameters
rpoisline

Generate Poisson Random Line Process
rmhmodel.list

Define Point Process Model for Metropolis-Hastings Simulation.
rshift.splitppp

Randomly Shift a List of Point Patterns
update.kppm

Update a Fitted Cluster Point Process Model
runifpointOnLines

Generate N Uniform Random Points On Line Segments
km.rs

Kaplan-Meier and Reduced Sample Estimator using Histograms
model.matrix.ppm

Extract Design Matrix from Point Process Model
pcf

Pair Correlation Function
stienen

Stienen Diagram
rshift.ppp

Randomly Shift a Point Pattern
fv

Create a Function Value Table
varblock

Estimate Variance of Summary Statistic by Subdivision
model.depends

Identify Covariates Involved in each Model Term
eem

Exponential Energy Marks
plot.quadrattest

Display the result of a quadrat counting test.
summary.dppm

Summarizing a Fitted Determinantal Point Process Model
logLik.ppm

Log Likelihood and AIC for Point Process Model
studpermu.test

Studentised Permutation Test
increment.fv

Increments of a Function
integral.msr

Integral of a Measure
psstG

Pseudoscore Diagnostic For Fitted Model against Saturation Alternative
effectfun

Compute Fitted Effect of a Spatial Covariate in a Point Process Model
varcount

Predicted Variance of the Number of Points
update.ppm

Update a Fitted Point Process Model
methods.slrm

Methods for Spatial Logistic Regression Models
ppm

Fit Point Process Model to Data
rthinclumps

Random Thinning of Clumps
rMosaicSet

Mosaic Random Set
sdr

Sufficient Dimension Reduction
methods.rho2hat

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

Internal spatstat.core functions
nndensity.ppp

Estimate Intensity of Point Pattern Using Nearest Neighbour Distances
nnorient

Nearest Neighbour Orientation Distribution
lgcp.estpcf

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
suffstat

Sufficient Statistic of Point Process Model
fasp.object

Function Arrays for Spatial Patterns
fitin.ppm

Extract the Interaction from a Fitted Point Process Model
logLik.dppm

Log Likelihood and AIC for Fitted Determinantal Point Process Model
plot.influence.ppm

Plot Influence Measure
rDiggleGratton

Perfect Simulation of the Diggle-Gratton Process
with.msr

Evaluate Expression Involving Components of a Measure
localK

Neighbourhood density function
markvario

Mark Variogram
pcf.fasp

Pair Correlation Function obtained from array of K functions
pairwise.family

Pairwise Interaction Process Family
pairsat.family

Saturated Pairwise Interaction Point Process Family
matclust.estK

Fit the Matern Cluster Point Process by Minimum Contrast
plot.fv

Plot Function Values
vcov.mppm

Calculate Variance-Covariance Matrix for Fitted Multiple Point Process Model
quantile.density

Quantiles of a Density Estimate
logLik.slrm

Loglikelihood of Spatial Logistic Regression
model.frame.ppm

Extract the Variables in a Point Process Model
model.matrix.slrm

Extract Design Matrix from Spatial Logistic Regression Model
polynom

Polynomial in One or Two Variables
ppm.object

Class of Fitted Point Process Models
pairs.im

Scatterplot Matrix for Pixel Images
panel.contour

Panel Plots using Colour Image or Contour Lines
psst

Pseudoscore Diagnostic For Fitted Model against General Alternative
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
leverage.ppm

Leverage Measure for Spatial Point Process Model
rMosaicField

Mosaic Random Field
sharpen

Data Sharpening of Point Pattern
update.interact

Update an Interpoint Interaction
reach.kppm

Range of Interaction for a Cox or Cluster Point Process Model
rCauchy

Simulate Neyman-Scott Point Process with Cauchy cluster kernel
idw

Inverse-distance weighted smoothing of observations at irregular points
ic.kppm

Model selection criteria for the intensity function of a point process
plot.envelope

Plot a Simulation Envelope
miplot

Morisita Index Plot
rotmean

Rotational Average of a Pixel Image
rThomas

Simulate Thomas Process
plot.rppm

Plot a Recursively Partitioned Point Process Model
mincontrast

Method of Minimum Contrast
methods.influence.ppm

Methods for Influence Objects
intensity.dppm

Intensity of Determinantal Point Process Model
reach.dppm

Range of Interaction for a Determinantal Point Process Model
rVarGamma

Simulate Neyman-Scott Point Process with Variance Gamma cluster kernel
is.ppm

Test Whether An Object Is A Fitted Point Process Model
rmh

Simulate point patterns using the Metropolis-Hastings algorithm.
rmhmodel.ppm

Interpret Fitted Model for Metropolis-Hastings Simulation.
summary.kppm

Summarizing a Fitted Cox or Cluster Point Process Model
rose

Rose Diagram
is.stationary

Recognise Stationary and Poisson Point Process Models
nnclean

Nearest Neighbour Clutter Removal
simulate.dppm

Simulation of Determinantal Point Process Model
rmh.default

Simulate Point Process Models using the Metropolis-Hastings Algorithm.
plot.studpermutest

Plot a Studentised Permutation Test
rmhstart

Determine Initial State for Metropolis-Hastings Simulation.
matclust.estpcf

Fit the Matern Cluster Point Process by Minimum Contrast Using Pair Correlation
simulate.ppm

Simulate a Fitted Gibbs Point Process Model
update.detpointprocfamily

Set Parameter Values in a Determinantal Point Process Model
plot.leverage.ppm

Plot Leverage Function
plot.mppm

plot a Fitted Multiple Point Process Model
rectcontact

Contact Distribution Function using Rectangular Structuring Element
measureContinuous

Discrete and Continuous Components of a Measure
simulate.slrm

Simulate a Fitted Spatial Logistic Regression Model
pool

Pool Data
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
lurking.mppm

Lurking Variable Plot for Multiple Point Patterns
lgcp.estK

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
update.rmhcontrol

Update Control Parameters of Metropolis-Hastings Algorithm
methods.fii

Methods for Fitted Interactions
valid

Check Whether Point Process Model is Valid
marktable

Tabulate Marks in Neighbourhood of Every Point in a Point Pattern
plot.fasp

Plot a Function Array
summary.ppm

Summarizing a Fitted Point Process Model
psib

Sibling Probability of Cluster Point Process
msr

Signed or Vector-Valued Measure
split.msr

Divide a Measure into Parts
markmarkscatter

Mark-Mark Scatter Plot
markconnect

Mark Connection Function
rSSI

Simulate Simple Sequential Inhibition
rmhexpand

Specify Simulation Window or Expansion Rule
predict.dppm

Prediction from a Fitted Determinantal Point Process Model
npfun

Dummy Function Returns Number of Points
profilepl

Fit Models by Profile Maximum Pseudolikelihood or AIC
objsurf

Objective Function Surface
psstA

Pseudoscore Diagnostic For Fitted Model against Area-Interaction Alternative
plot.msr

Plot a Signed or Vector-Valued Measure
rcellnumber

Generate Random Numbers of Points for Cell Process
stieltjes

Compute Integral of Function Against Cumulative Distribution
predict.kppm

Prediction from a Fitted Cluster Point Process Model
rDGS

Perfect Simulation of the Diggle-Gates-Stibbard Process
rmh.ppm

Simulate from a Fitted Point Process Model
plot.ssf

Plot a Spatially Sampled Function
rNeymanScott

Simulate Neyman-Scott Process
unstack.msr

Separate a Vector Measure into its Scalar Components
slrm

Spatial Logistic Regression
quadrat.test

Dispersion Test for Spatial Point Pattern Based on Quadrat Counts
spatialcdf

Spatial Cumulative Distribution Function
rPenttinen

Perfect Simulation of the Penttinen Process
pcf.ppp

Pair Correlation Function of Point Pattern
rmpoint

Generate N Random Multitype Points
rpoispp3

Generate Poisson Point Pattern in Three Dimensions
pool.fasp

Pool Data from Several Function Arrays
rmhcontrol

Set Control Parameters for Metropolis-Hastings Algorithm.
rPoissonCluster

Simulate Poisson Cluster Process
subspaceDistance

Distance Between Linear Spaces
reduced.sample

Reduced Sample Estimator using Histogram Data
rthin

Random Thinning
subfits

Extract List of Individual Point Process Models
rpoisppOnLines

Generate Poisson Point Pattern on Line Segments
segregation.test

Test of Spatial Segregation of Types
valid.ppm

Check Whether Point Process Model is Valid
pool.anylist

Pool Data from a List of Objects
rdpp

Simulation of a Determinantal Point Process
rGaussPoisson

Simulate Gauss-Poisson Process
thomas.estK

Fit the Thomas Point Process by Minimum Contrast
rmpoispp

Generate Multitype Poisson Point Pattern
valid.detpointprocfamily

Check Validity of a Determinantal Point Process Model
rcell

Simulate Baddeley-Silverman Cell Process
spatstat.core-package

The spatstat.core Package
relrisk.ppm

Parametric Estimate of Spatially-Varying Relative Risk
vcov.ppm

Variance-Covariance Matrix for a Fitted Point Process Model
relrisk.ppp

Nonparametric Estimate of Spatially-Varying Relative Risk
runifdisc

Generate N Uniform Random Points in a Disc
will.expand

Test Expansion Rule
rHardcore

Perfect Simulation of the Hardcore Process
ssf

Spatially Sampled Function
rmhmodel

Define Point Process Model for Metropolis-Hastings Simulation.
sdrPredict

Compute Predictors from Sufficient Dimension Reduction
runifpoint

Generate N Uniform Random Points
reach

Interaction Distance of a Point Process
plot.bermantest

Plot Result of Berman Test
pcfmulti

Marked pair correlation function
rStrauss

Perfect Simulation of the Strauss Process
rpoislinetess

Poisson Line Tessellation
thomas.estpcf

Fit the Thomas Point Process by Minimum Contrast
pool.envelope

Pool Data from Several Envelopes
transect.im

Pixel Values Along a Transect
vcov.kppm

Variance-Covariance Matrix for a Fitted Cluster Point Process Model
pool.fv

Pool Several Functions
predict.rppm

Make Predictions From a Recursively Partitioned Point Process Model
triplet.family

Triplet Interaction Family
with.fv

Evaluate an Expression in a Function Table
vcov.slrm

Variance-Covariance Matrix for a Fitted Spatial Logistic Regression
repul.dppm

Repulsiveness Index of a Determinantal Point Process Model
rStraussHard

Perfect Simulation of the Strauss-Hardcore Process
quadrat.test.mppm

Chi-Squared Test for Multiple Point Process Model Based on Quadrat Counts
predict.slrm

Predicted or Fitted Values from Spatial Logistic Regression
residuals.dppm

Residuals for Fitted Determinantal Point Process Model
unitname

Name for Unit of Length
rho2hat

Smoothed Relative Density of Pairs of Covariate Values
rnoise

Random Pixel Noise
rhohat

Nonparametric Estimate of Intensity as Function of a Covariate
rpoispp

Generate Poisson Point Pattern
roc

Receiver Operating Characteristic
simulate.mppm

Simulate a Point Process Model Fitted to Several Point Patterns
zclustermodel

Cluster Point Process Model
rstrat

Simulate Stratified Random Point Pattern
scan.test

Spatial Scan Test
runifpointx

Generate N Uniform Random Points in Any Dimensions
rtemper

Simulated Annealing or Simulated Tempering for Gibbs Point Processes
simulate.kppm

Simulate a Fitted Cluster Point Process Model
vargamma.estpcf

Fit the Neyman-Scott Cluster Point Process with Variance Gamma kernel
vargamma.estK

Fit the Neyman-Scott Cluster Point Process with Variance Gamma kernel