Learn R Programming

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

spatstat.core (version 2.2-0)

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

158

Version

2.2-0

License

GPL (>= 2)

Maintainer

Adrian Baddeley

Last Published

June 17th, 2021

Functions in spatstat.core (2.2-0)

Extract.fasp

Extract Subset of Function Array
Extract.fv

Extract or Replace Subset of Function Values
Emark

Diagnostics for random marking
DiggleGatesStibbard

Diggle-Gates-Stibbard Point Process Model
DiggleGratton

Diggle-Gratton model
Extract.influence.ppm

Extract Subset of Influence Object
Concom

The Connected Component Process Model
CDF

Cumulative Distribution Function From Kernel Density Estimate
AreaInter

The Area Interaction Point Process Model
BadGey

Hybrid Geyer Point Process Model
Extract.leverage.ppm

Extract Subset of Leverage Object
Gcom

Model Compensator of Nearest Neighbour Function
G3est

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

Extract Subset of Signed or Vector Measure
FmultiInhom

Inhomogeneous Marked F-Function
Finhom

Inhomogeneous Empty Space Function
[.ssf

Subset of spatially sampled function
F3est

Empty Space Function of a Three-Dimensional Point Pattern
Fiksel

The Fiksel Interaction
Fest

Estimate the Empty Space Function or its Hazard Rate
Gcross

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

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

Inhomogeneous Marked G-Function
Gmulti

Marked Nearest Neighbour Distance Function
Gres

Residual G Function
Hardcore

The Hard Core Point Process Model
Ginhom

Inhomogeneous Nearest Neighbour Function
Gfox

Foxall's Distance Functions
Hybrid

Hybrid Interaction Point Process Model
Iest

Estimate the I-function
Jinhom

Inhomogeneous J-function
Jest

Estimate the J-function
HierHard

The Hierarchical Hard Core Point Process Model
Hest

Spherical Contact Distribution Function
Jcross

Multitype J Function (i-to-j)
Jdot

Multitype J Function (i-to-any)
Geyer

Geyer's Saturation Point Process Model
HierStraussHard

The Hierarchical Strauss Hard Core Point Process Model
HierStrauss

The Hierarchical Strauss Point Process Model
Gest

Nearest Neighbour Distance Function G
Kdot

Multitype K Function (i-to-any)
Kinhom

Inhomogeneous K-function
Kest

K-function
Kcross

Multitype K Function (Cross-type)
Jmulti

Marked J Function
Kcom

Model Compensator of K Function
Kest.fft

K-function using FFT
Kcross.inhom

Inhomogeneous Cross K Function
Kdot.inhom

Inhomogeneous Multitype K Dot Function
K3est

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

K Function or Pair Correlation Function of Cluster Model or Cox model
Kmodel.dppm

K-function or Pair Correlation Function of a Determinantal Point Process Model
Kmodel

K Function or Pair Correlation Function of a Point Process Model
Kmodel.ppm

K Function or Pair Correlation Function of Gibbs Point Process model
Kmeasure

Reduced Second Moment Measure
Kmark

Mark-Weighted K Function
Lest

L-function
Kmulti

Marked K-Function
Ldot

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

Inhomogeneous Marked K-Function
LennardJones

The Lennard-Jones Potential
Linhom

Inhomogeneous L-function
MultiHard

The Multitype Hard Core Point Process Model
Lcross.inhom

Inhomogeneous Cross Type L Function
MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
MultiStrauss

The Multitype Strauss Point Process Model
Lcross

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

Inhomogeneous Multitype L Dot Function
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
Pairwise

Generic Pairwise Interaction model
Ord

Generic Ord Interaction model
Ops.msr

Arithmetic Operations on Measures
Kscaled

Locally Scaled K-function
Kres

Residual K Function
OrdThresh

Ord's Interaction model
Penttinen

Penttinen Interaction
Smooth

Spatial smoothing of data
Poisson

Poisson Point Process Model
Smooth.fv

Apply Smoothing to Function Values
Softcore

The Soft Core Point Process Model
Strauss

The Strauss Point Process Model
PPversion

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

Smooth a Signed or Vector-Valued Measure
Smooth.ppp

Spatial smoothing of observations at irregular points
SatPiece

Piecewise Constant Saturated Pairwise Interaction Point Process Model
LambertW

Lambert's W Function
Ksector

Sector K-function
Saturated

Saturated Pairwise Interaction model
Smooth.ssf

Smooth a Spatially Sampled Function
Smoothfun.ppp

Smooth Interpolation of Marks as a Spatial Function
Tstat

Third order summary statistic
anova.mppm

ANOVA for Fitted Point Process Models for Replicated Patterns
adaptive.density

Adaptive Estimate of Intensity of Point Pattern
StraussHard

The Strauss / Hard Core Point Process Model
anova.ppm

ANOVA for Fitted Point Process Models
WindowOnly

Extract Window of Spatial Object
alltypes

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

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

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

Convert Leverage Object to Function of Coordinates
as.data.frame.envelope

Coerce Envelope to Data Frame
anova.slrm

Analysis of Deviance for Spatial Logistic Regression Models
as.function.rhohat

Convert Function Table to Function
as.fv

Convert Data To Class fv
as.owin

Convert Data To Class owin
as.ppm

Extract Fitted Point Process Model
Triplets

The Triplet Point Process Model
bits.envelope

Global Envelopes for Balanced Independent Two-Stage Test
bits.test

Balanced Independent Two-Stage Monte Carlo Test
bw.CvL

Cronie and van Lieshout's Criterion for Bandwidth Selection for Kernel Density
blur

Apply Gaussian Blur to a Pixel Image
auc

Area Under ROC Curve
bc.ppm

Bias Correction for Fitted Model
bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation
bw.pplHeat

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

Cross Validated Bandwidth Selection for Pair Correlation Function
bw.ppl

Likelihood Cross Validation Bandwidth Selection for Kernel Density
bw.frac

Bandwidth Selection Based on Window Geometry
bw.diggle

Cross Validated Bandwidth Selection for Kernel Density
bw.CvLHeat

Bandwidth Selection for Diffusion Smoother by Cronie-van Lieshout Rule
cauchy.estK

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

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

Abramson's Adaptive Bandwidths
as.interact

Extract Interaction Structure
addvar

Added Variable Plot for Point Process Model
as.layered.msr

Convert Measure To Layered Object
berman.test

Berman's Tests for Point Process Model
bw.scott

Scott's Rule for Bandwidth Selection for Kernel Density
bind.fv

Combine Function Value Tables
cauchy.estpcf

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

Cross Validated Bandwidth Selection for Spatial Smoothing
cdf.test

Spatial Distribution Test for Point Pattern or Point Process Model
clusterfield

Field of clusters
closepaircounts

Count Close Pairs of Points
clusterfit

Fit Cluster or Cox Point Process Model via Minimum Contrast
clusterkernel

Extract Cluster Offspring Kernel
coef.ppm

Coefficients of Fitted Point Process Model
coef.mppm

Coefficients of Point Process Model Fitted to Multiple Point Patterns
compareFit

Residual Diagnostics for Multiple Fitted Models
compatible.fasp

Test Whether Function Arrays Are Compatible
compatible.fv

Test Whether Function Objects Are Compatible
compileK

Generic Calculation of K Function and Pair Correlation Function
circdensity

Density Estimation for Circular Data
clusterradius

Compute or Extract Effective Range of Cluster Kernel
cdf.test.mppm

Spatial Distribution Test for Multiple Point Process Model
clusterset

Allard-Fraley Estimator of Cluster Feature
clarkevans.test

Clark and Evans Test
clarkevans

Clark and Evans Aggregation Index
density.psp

Kernel Smoothing of Line Segment Pattern
density.ppp

Kernel Smoothed Intensity of Point Pattern
data.ppm

Extract Original Data from a Fitted Point Process Model
dclf.progress

Progress Plot of Test of Spatial Pattern
densityAdaptiveKernel

Adaptive Kernel Estimate of Intensity of Point Pattern
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
coef.slrm

Coefficients of Fitted Spatial Logistic Regression Model
collapse.fv

Collapse Several Function Tables into One
densityHeat

Diffusion Estimate of Point Pattern Intensity
densityHeat.ppp

Diffusion Estimate of Point Pattern Intensity
dclf.test

Diggle-Cressie-Loosmore-Ford and Maximum Absolute Deviation Tests
dclf.sigtrace

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

Construct a New Determinantal Point Process Model Family Function
dfbetas.ppm

Parameter Influence Measure
deriv.fv

Calculate Derivative of Function Values
dffit.ppm

Case Deletion Effect Measure of Fitted Model
default.expand

Default Expansion Rule for Simulation of Model
dg.progress

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

Global Envelopes for Dao-Genton Test
diagnose.ppm

Diagnostic Plots for Fitted Point Process Model
dppBessel

Bessel Type Determinantal Point Process Model
dim.detpointprocfamily

Dimension of Determinantal Point Process Model
densityfun.ppp

Kernel Estimate of Intensity as a Spatial Function
domain

Extract the Domain of any Spatial Object
dppMatern

Whittle-Matern Determinantal Point Process Model
dmixpois

Mixed Poisson Distribution
dkernel

Kernel distributions and random generation
dppCauchy

Generalized Cauchy Determinantal Point Process Model
densityVoronoi

Intensity Estimate of Point Pattern Using Voronoi-Dirichlet Tessellation
default.rmhcontrol

Set Default Control Parameters for Metropolis-Hastings Algorithm.
dimhat

Estimate Dimension of Central Subspace
distcdf

Distribution Function of Interpoint Distance
dppm

Fit Determinantal Point Process Model
dummify

Convert Data to Numeric Values by Constructing Dummy Variables
dppkernel

Extract Kernel from Determinantal Point Process Model Object
dppeigen

Internal function calculating eig and index
dppparbounds

Parameter Bound for a Determinantal Point Process Model
dummy.ppm

Extract Dummy Points Used to Fit a Point Process Model
dg.test

Dao-Genton Adjusted Goodness-Of-Fit Test
edge.Trans

Translation Edge Correction
edge.Ripley

Ripley's Isotropic Edge Correction
dg.sigtrace

Significance Trace of Dao-Genton Test
dppGauss

Gaussian Determinantal Point Process Model
dppspecdenrange

Range of Spectral Density of a Determinantal Point Process Model
dppspecden

Extract Spectral Density from Determinantal Point Process Model Object
dppapproxpcf

Approximate Pair Correlation Function of Determinantal Point Process Model
dppapproxkernel

Approximate Determinantal Point Process Kernel
eem

Exponential Energy Marks
effectfun

Compute Fitted Effect of a Spatial Covariate in a Point Process Model
expand.owin

Apply Expansion Rule
exactMPLEstrauss

Exact Maximum Pseudolikelihood Estimate for Stationary Strauss Process
dppPowerExp

Power Exponential Spectral Determinantal Point Process Model
emend

Force Model to be Valid
emend.ppm

Force Point Process Model to be Valid
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
envelopeArray

Array of Simulation Envelopes of Summary Function
envelope.envelope

Recompute Envelopes
envelope

Simulation Envelopes of Summary Function
fitted.slrm

Fitted Probabilities for Spatial Logistic Regression
formula.ppm

Model Formulae for Gibbs Point Process Models
fv.object

Function Value Table
fixef.mppm

Extract Fixed Effects from Point Process Model
fasp.object

Function Arrays for Spatial Patterns
fitin.ppm

Extract the Interaction from a Fitted Point Process Model
eval.fv

Evaluate Expression Involving Functions
hotbox

Heat Kernel for a Two-Dimensional Rectangle
fitted.mppm

Fitted Conditional Intensity for Multiple Point Process Model
formula.fv

Extract or Change the Plot Formula for a Function Value Table
eval.fasp

Evaluate Expression Involving Function Arrays
fvnames

Abbreviations for Groups of Columns in Function Value Table
hybrid.family

Hybrid Interaction Family
increment.fv

Increments of a Function
improve.kppm

Improve Intensity Estimate of Fitted Cluster Point Process Model
harmonic

Basis for Harmonic Functions
fv

Create a Function Value Table
intensity.ppm

Intensity of Fitted Point Process Model
ippm

Fit Point Process Model Involving Irregular Trend Parameters
gauss.hermite

Gauss-Hermite Quadrature Approximation to Expectation for Normal Distribution
is.ppm

Test Whether An Object Is A Fitted Point Process Model
fryplot

Fry Plot of Point Pattern
km.rs

Kaplan-Meier and Reduced Sample Estimator using Histograms
kernel.factor

Scale factor for density kernel
idw

Inverse-distance weighted smoothing of observations at irregular points
kernel.squint

Integral of Squared Kernel
influence.ppm

Influence Measure for Spatial Point Process Model
ic.kppm

Model selection criteria for the intensity function of a point process
inforder.family

Infinite Order Interaction Family
is.stationary

Recognise Stationary and Poisson Point Process Models
harmonise.fv

Make Function Tables Compatible
intensity.dppm

Intensity of Determinantal Point Process Model
integral.msr

Integral of a Measure
is.multitype.ppm

Test Whether A Point Process Model is Multitype
is.marked.ppm

Test Whether A Point Process Model is Marked
hopskel

Hopkins-Skellam Test
fitted.ppm

Fitted Conditional Intensity for Point Process Model
isf.object

Interaction Structure Family Objects
hierpair.family

Hierarchical Pairwise Interaction Process Family
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
harmonise.msr

Make Measures Compatible
is.hybrid

Test Whether Object is a Hybrid
is.dppm

Recognise Fitted Determinantal Point Process Models
laslett

Laslett's Transform
kernel.moment

Moment of Smoothing Kernel
kppm

Fit Cluster or Cox Point Process Model
localKcross

Local Multitype K Function (Cross-Type)
localKcross.inhom

Inhomogeneous Multitype K Function
localKinhom

Inhomogeneous Neighbourhood Density Function
localKdot

Local Multitype K Function (Dot-Type)
lgcp.estpcf

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

Neighbourhood density function
logLik.mppm

Log Likelihood and AIC for Multiple Point Process Model
logLik.kppm

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

Log Likelihood and AIC for Point Process Model
logLik.slrm

Loglikelihood of Spatial Logistic Regression
markconnect

Mark Connection Function
lurking.mppm

Lurking Variable Plot for Multiple Point Patterns
matclust.estpcf

Fit the Matern Cluster Point Process by Minimum Contrast Using Pair Correlation
localpcf

Local pair correlation function
logLik.dppm

Log Likelihood and AIC for Fitted Determinantal Point Process Model
measureContinuous

Discrete and Continuous Components of a Measure
lgcp.estK

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
leverage.ppm

Leverage Measure for Spatial Point Process Model
lurking

Lurking Variable Plot
markcorr

Mark Correlation Function
lohboot

Bootstrap Confidence Bands for Summary Function
markcrosscorr

Mark Cross-Correlation Function
markvario

Mark Variogram
methods.kppm

Methods for Cluster Point Process Models
methods.leverage.ppm

Methods for Leverage Objects
methods.objsurf

Methods for Objective Function Surfaces
methods.rho2hat

Methods for Intensity Functions of Two Spatial Covariates
methods.influence.ppm

Methods for Influence Objects
methods.fii

Methods for Fitted Interactions
methods.dppm

Methods for Determinantal Point Process Models
measureVariation

Positive and Negative Parts, and Variation, of a Measure
matclust.estK

Fit the Matern Cluster Point Process by Minimum Contrast
methods.slrm

Methods for Spatial Logistic Regression Models
methods.rhohat

Methods for Intensity Functions of Spatial Covariate
mppm

Fit Point Process Model to Several Point Patterns
msr

Signed or Vector-Valued Measure
model.depends

Identify Covariates Involved in each Model Term
model.matrix.mppm

Extract Design Matrix of Point Process Model for Several Point Patterns
model.images

Compute Images of Constructed Covariates
model.frame.ppm

Extract the Variables in a Point Process Model
npfun

Dummy Function Returns Number of Points
objsurf

Objective Function Surface
nnorient

Nearest Neighbour Orientation Distribution
nndensity.ppp

Estimate Intensity of Point Pattern Using Nearest Neighbour Distances
ord.family

Ord Interaction Process Family
mincontrast

Method of Minimum Contrast
markmarkscatter

Mark-Mark Scatter Plot
methods.ssf

Methods for Spatially Sampled Functions
marktable

Tabulate Marks in Neighbourhood of Every Point in a Point Pattern
methods.zclustermodel

Methods for Cluster Models
pairorient

Point Pair Orientation Distribution
pairMean

Mean of a Function of Interpoint Distance
nnclean

Nearest Neighbour Clutter Removal
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
model.matrix.ppm

Extract Design Matrix from Point Process Model
model.matrix.slrm

Extract Design Matrix from Spatial Logistic Regression Model
miplot

Morisita Index Plot
panel.contour

Panel Plots using Colour Image or Contour Lines
parameters

Extract Model Parameters in Understandable Form
pcf.ppp

Pair Correlation Function of Point Pattern
pairwise.family

Pairwise Interaction Process Family
pairsat.family

Saturated Pairwise Interaction Point Process Family
pairs.im

Scatterplot Matrix for Pixel Images
pcf

Pair Correlation Function
parres

Partial Residuals for Point Process Model
pcf.fasp

Pair Correlation Function obtained from array of K functions
pcf.fv

Pair Correlation Function obtained from K Function
plot.dppm

Plot a fitted determinantal point process
pcfinhom

Inhomogeneous Pair Correlation Function
pcfcross

Multitype pair correlation function (cross-type)
pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern
plot.bermantest

Plot Result of Berman Test
plot.envelope

Plot a Simulation Envelope
pcfdot

Multitype pair correlation function (i-to-any)
pcfdot.inhom

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

Plot a Spatial Distribution Test
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
pcfmulti

Marked pair correlation function
plot.fasp

Plot a Function Array
plot.plotppm

Plot a plotppm Object Created by plot.ppm
plot.kppm

Plot a fitted cluster point process
plot.laslett

Plot Laslett Transform
plot.influence.ppm

Plot Influence Measure
plot.fv

Plot Function Values
plot.msr

Plot a Signed or Vector-Valued Measure
plot.mppm

plot a Fitted Multiple Point Process Model
plot.ppm

plot a Fitted Point Process Model
plot.leverage.ppm

Plot Leverage Function
pool

Pool Data
plot.ssf

Plot a Spatially Sampled Function
plot.slrm

Plot a Fitted Spatial Logistic Regression
plot.quadrattest

Display the result of a quadrat counting test.
plot.profilepl

Plot Profile Likelihood
plot.scan.test

Plot Result of Scan Test
plot.rppm

Plot a Recursively Partitioned Point Process Model
pool.anylist

Pool Data from a List of Objects
polynom

Polynomial in One or Two Variables
plot.studpermutest

Plot a Studentised Permutation Test
pool.rat

Pool Data from Several Ratio Objects
ppm.object

Class of Fitted Point Process Models
pool.envelope

Pool Data from Several Envelopes
pool.fasp

Pool Data from Several Function Arrays
ppmInfluence

Leverage and Influence Measures for Spatial Point Process Model
pool.quadrattest

Pool Several Quadrat Tests
predict.dppm

Prediction from a Fitted Determinantal Point Process Model
pool.fv

Pool Several Functions
ppm.ppp

Fit Point Process Model to Point Pattern Data
ppm

Fit Point Process Model to Data
profilepl

Fit Models by Profile Maximum Pseudolikelihood or AIC
pseudoR2

Calculate Pseudo-R-Squared for Point Process Model
prune.rppm

Prune a Recursively Partitioned Point Process Model
predict.slrm

Predicted or Fitted Values from Spatial Logistic Regression
predict.kppm

Prediction from a Fitted Cluster Point Process Model
predict.mppm

Prediction for Fitted Multiple Point Process Model
psib

Sibling Probability of Cluster Point Process
predict.rppm

Make Predictions From a Recursively Partitioned Point Process Model
print.ppm

Print a Fitted Point Process Model
predict.ppm

Prediction from a Fitted Point Process Model
psstG

Pseudoscore Diagnostic For Fitted Model against Saturation Alternative
quad.ppm

Extract Quadrature Scheme Used to Fit a Point Process Model
psst

Pseudoscore Diagnostic For Fitted Model against General Alternative
quantile.density

Quantiles of a Density Estimate
quadratresample

Resample a Point Pattern by Resampling Quadrats
quadrat.test

Dispersion Test for Spatial Point Pattern Based on Quadrat Counts
psstA

Pseudoscore Diagnostic For Fitted Model against Area-Interaction Alternative
qqplot.ppm

Q-Q Plot of Residuals from Fitted Point Process Model
quadrat.test.splitppp

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

Chi-Squared Test for Multiple Point Process Model Based on Quadrat Counts
rMatClust

Simulate Matern Cluster Process
rMaternI

Simulate Matern Model I
rMaternII

Simulate Matern Model II
rMosaicField

Mosaic Random Field
rCauchy

Simulate Neyman-Scott Point Process with Cauchy cluster kernel
rDGS

Perfect Simulation of the Diggle-Gates-Stibbard Process
rGaussPoisson

Simulate Gauss-Poisson Process
rDiggleGratton

Perfect Simulation of the Diggle-Gratton Process
rStraussHard

Perfect Simulation of the Strauss-Hardcore Process
rPSNCP

Simulate Product Shot-noise Cox Process
rStrauss

Perfect Simulation of the Strauss Process
rPenttinen

Perfect Simulation of the Penttinen Process
rSSI

Simulate Simple Sequential Inhibition
rLGCP

Simulate Log-Gaussian Cox Process
rPoissonCluster

Simulate Poisson Cluster Process
rHardcore

Perfect Simulation of the Hardcore Process
rdpp

Simulation of a Determinantal Point Process
rThomas

Simulate Thomas Process
ragsAreaInter

Alternating Gibbs Sampler for Area-Interaction Process
rVarGamma

Simulate Neyman-Scott Point Process with Variance Gamma cluster kernel
reach

Interaction Distance of a Point Process
range.fv

Range of Function Values
rags

Alternating Gibbs Sampler for Multitype Point Processes
reach.dppm

Range of Interaction for a Determinantal Point Process Model
ragsMultiHard

Alternating Gibbs Sampler for Multitype Hard Core Process
rcell

Simulate Baddeley-Silverman Cell Process
reload.or.compute

Compute Unless Previously Saved
rat

Ratio object
relrisk.ppm

Parametric Estimate of Spatially-Varying Relative Risk
ranef.mppm

Extract Random Effects from Point Process Model
relrisk.ppp

Nonparametric Estimate of Spatially-Varying Relative Risk
reach.kppm

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

Estimate of Spatially-Varying Relative Risk
rectcontact

Contact Distribution Function using Rectangular Structuring Element
rcellnumber

Generate Random Numbers of Points for Cell Process
reduced.sample

Reduced Sample Estimator using Histogram Data
rMosaicSet

Mosaic Random Set
residuals.mppm

Residuals for Point Process Model Fitted to Multiple Point Patterns
residuals.kppm

Residuals for Fitted Cox or Cluster Point Process Model
repul.dppm

Repulsiveness Index of a Determinantal Point Process Model
residuals.dppm

Residuals for Fitted Determinantal Point Process Model
rNeymanScott

Simulate Neyman-Scott Process
rmh

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

Residuals for Fitted Point Process Model
rmh.default

Simulate Point Process Models using the Metropolis-Hastings Algorithm.
rhohat

Nonparametric Estimate of Intensity as Function of a Covariate
rho2hat

Smoothed Relative Density of Pairs of Covariate Values
rknn

Theoretical Distribution of Nearest Neighbour Distance
rlabel

Random Re-Labelling of Point Pattern
rex

Richardson Extrapolation
rmpoint

Generate N Random Multitype Points
rmhcontrol

Set Control Parameters for Metropolis-Hastings Algorithm.
rmhmodel

Define Point Process Model for Metropolis-Hastings Simulation.
rmh.ppm

Simulate from a Fitted Point Process Model
rmpoispp

Generate Multitype Poisson Point Pattern
rmhexpand

Specify Simulation Window or Expansion Rule
rmhmodel.default

Build Point Process Model for Metropolis-Hastings Simulation.
rmhmodel.list

Define Point Process Model for Metropolis-Hastings Simulation.
rmhstart

Determine Initial State for Metropolis-Hastings Simulation.
rmhmodel.ppm

Interpret Fitted Model for Metropolis-Hastings Simulation.
rpoispp3

Generate Poisson Point Pattern in Three Dimensions
rnoise

Random Pixel Noise
rpoisppOnLines

Generate Poisson Point Pattern on Line Segments
rpoint

Generate N Random Points
roc

Receiver Operating Characteristic
rpoisline

Generate Poisson Random Line Process
rpoislinetess

Poisson Line Tessellation
rpoispp

Generate Poisson Point Pattern
rose

Rose Diagram
rotmean

Rotational Average of a Pixel Image
rthinclumps

Random Thinning of Clumps
rshift.splitppp

Randomly Shift a List of Point Patterns
rtemper

Simulated Annealing or Simulated Tempering for Gibbs Point Processes
rshift.ppp

Randomly Shift a Point Pattern
rshift

Random Shift
rthin

Random Thinning
rshift.psp

Randomly Shift a Line Segment Pattern
rstrat

Simulate Stratified Random Point Pattern
rpoisppx

Generate Poisson Point Pattern in Any Dimensions
rppm

Recursively Partitioned Point Process Model
runifpointx

Generate N Uniform Random Points in Any Dimensions
runifpoint3

Generate N Uniform Random Points in Three Dimensions
runifpointOnLines

Generate N Uniform Random Points On Line Segments
runifpoint

Generate N Uniform Random Points
runifdisc

Generate N Uniform Random Points in a Disc
scanLRTS

Likelihood Ratio Test Statistic for Scan Test
sharpen

Data Sharpening of Point Pattern
simulate.dppm

Simulation of Determinantal Point Process Model
sdr

Sufficient Dimension Reduction
simulate.ppm

Simulate a Fitted Gibbs Point Process Model
simulate.slrm

Simulate a Fitted Spatial Logistic Regression Model
scan.test

Spatial Scan Test
spatstat.core-deprecated

Deprecated spatstat.core functions
spatialcdf

Spatial Cumulative Distribution Function
slrm

Spatial Logistic Regression
spatcov

Estimate the Spatial Covariance Function of a Random Field
segregation.test

Test of Spatial Segregation of Types
simulate.mppm

Simulate a Point Process Model Fitted to Several Point Patterns
simulate.kppm

Simulate a Fitted Cluster Point Process Model
sdrPredict

Compute Predictors from Sufficient Dimension Reduction
split.msr

Divide a Measure into Parts
studpermu.test

Studentised Permutation Test
subfits

Extract List of Individual Point Process Models
subspaceDistance

Distance Between Linear Spaces
suffstat

Sufficient Statistic of Point Process Model
triplet.family

Triplet Interaction Family
ssf

Spatially Sampled Function
unitname

Name for Unit of Length
thomas.estpcf

Fit the Thomas Point Process by Minimum Contrast
transect.im

Pixel Values Along a Transect
thomas.estK

Fit the Thomas Point Process by Minimum Contrast
summary.ppm

Summarizing a Fitted Point Process Model
summary.dppm

Summarizing a Fitted Determinantal Point Process Model
stieltjes

Compute Integral of Function Against Cumulative Distribution
valid.detpointprocfamily

Check Validity of a Determinantal Point Process Model
vargamma.estK

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

Check Whether Point Process Model is Valid
stienen

Stienen Diagram
summary.kppm

Summarizing a Fitted Cox or Cluster Point Process Model
update.interact

Update an Interpoint Interaction
varcount

Predicted Variance of the Number of Points
update.detpointprocfamily

Set Parameter Values in a Determinantal Point Process Model
unstack.msr

Separate a Vector Measure into its Scalar Components
update.ppm

Update a Fitted Point Process Model
update.rmhcontrol

Update Control Parameters of Metropolis-Hastings Algorithm
vcov.slrm

Variance-Covariance Matrix for a Fitted Spatial Logistic Regression
update.kppm

Update a Fitted Cluster Point Process Model
will.expand

Test Expansion Rule
with.fv

Evaluate an Expression in a Function Table
with.msr

Evaluate Expression Involving Components of a Measure
vargamma.estpcf

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

Variance-Covariance Matrix for a Fitted Cluster Point Process Model
zclustermodel

Cluster Point Process Model
spatstat.core-package

The spatstat.core Package
spatstat.core-internal

Internal spatstat.core functions
with.ssf

Evaluate Expression in a Spatially Sampled Function
valid.ppm

Check Whether Point Process Model is Valid
varblock

Estimate Variance of Summary Statistic by Subdivision
vcov.mppm

Calculate Variance-Covariance Matrix for Fitted Multiple Point Process Model
vcov.ppm

Variance-Covariance Matrix for a Fitted Point Process Model