Learn R Programming

spatstat.core (version 2.3-1)

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

337

Version

2.3-1

License

GPL (>= 2)

Maintainer

Last Published

November 2nd, 2021

Functions in spatstat.core (2.3-1)

AreaInter

The Area Interaction Point Process Model
Gres

Residual G Function
Hardcore

The Hard Core Point Process Model
BadGey

Hybrid Geyer Point Process Model
CDF

Cumulative Distribution Function From Kernel Density Estimate
HierHard

The Hierarchical Hard Core Point Process Model
Hest

Spherical Contact Distribution Function
Concom

The Connected Component Process Model
FmultiInhom

Inhomogeneous Marked F-Function
Finhom

Inhomogeneous Empty Space Function
Gfox

Foxall's Distance Functions
Ginhom

Inhomogeneous Nearest Neighbour Function
Jcross

Multitype J Function (i-to-j)
Jdot

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

Inhomogeneous Cross K Function
Kcom

Model Compensator of K Function
Kcross

Multitype K Function (Cross-type)
Kmulti

Marked K-Function
Kmulti.inhom

Inhomogeneous Marked K-Function
Kdot

Multitype K Function (i-to-any)
Emark

Diagnostics for random marking
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
MultiHard

The Multitype Hard Core Point Process Model
Ops.msr

Arithmetic Operations on Measures
Ord

Generic Ord Interaction model
Linhom

Inhomogeneous L-function
Ldot.inhom

Inhomogeneous Multitype L Dot Function
Ldot

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

Penttinen Interaction
Smooth

Spatial smoothing of data
Smooth.ssf

Smooth a Spatially Sampled Function
Extract.fasp

Extract Subset of Function Array
Smooth.fv

Apply Smoothing to Function Values
Poisson

Poisson Point Process Model
Extract.leverage.ppm

Extract Subset of Leverage Object
Extract.msr

Extract Subset of Signed or Vector Measure
Smoothfun.ppp

Smooth Interpolation of Marks as a Spatial Function
Gcross

Multitype Nearest Neighbour Distance Function (i-to-j)
adaptive.density

Adaptive Estimate of Intensity of Point Pattern
addvar

Added Variable Plot for Point Process Model
anova.slrm

Analysis of Deviance for Spatial Logistic Regression Models
as.data.frame.envelope

Coerce Envelope to Data Frame
Fest

Estimate the Empty Space Function or its Hazard Rate
HierStrauss

The Hierarchical Strauss Point Process Model
Fiksel

The Fiksel Interaction
blur

Apply Gaussian Blur to a Pixel Image
Lest

L-function
Kres

Residual K Function
OrdThresh

Ord's Interaction model
HierStraussHard

The Hierarchical Strauss Hard Core Point Process Model
LennardJones

The Lennard-Jones Potential
Kscaled

Locally Scaled K-function
Gdot

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

The Strauss / Hard Core Point Process Model
Triplets

The Triplet Point Process Model
bw.scott

Scott's Rule for Bandwidth Selection for Kernel Density
clusterfield

Field of clusters
closepaircounts

Count Close Pairs of Points
bw.CvL

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

Cross Validated Bandwidth Selection for Spatial Smoothing
PPversion

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

Smooth a Signed or Vector-Valued Measure
DiggleGratton

Diggle-Gratton model
compareFit

Residual Diagnostics for Multiple Fitted Models
DiggleGatesStibbard

Diggle-Gates-Stibbard Point Process Model
as.function.fv

Convert Function Value Table to Function
Smooth.ppp

Spatial smoothing of observations at irregular points
as.interact

Extract Interaction Structure
as.layered.msr

Convert Measure To Layered Object
berman.test

Berman's Tests for Point Process Model
G3est

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

Marked Nearest Neighbour Distance Function
compatible.fasp

Test Whether Function Arrays Are Compatible
Gcom

Model Compensator of Nearest Neighbour Function
dclf.test

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

Inhomogeneous Marked G-Function
default.expand

Default Expansion Rule for Simulation of Model
Jest

Estimate the J-function
Jinhom

Inhomogeneous J-function
as.function.leverage.ppm

Convert Leverage Object to Function of Coordinates
bw.CvLHeat

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

Abramson's Adaptive Bandwidths
Jmulti

Marked J Function
K3est

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

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

K-function
Kdot.inhom

Inhomogeneous Multitype K Dot Function
Pairwise

Generic Pairwise Interaction model
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
cdf.test.mppm

Spatial Distribution Test for Multiple Point Process Model
Kmodel

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

The Multitype/Hard Core Strauss Point Process Model
Lcross

Multitype L-function (cross-type)
Softcore

The Soft Core Point Process Model
MultiStrauss

The Multitype Strauss Point Process Model
Lcross.inhom

Inhomogeneous Cross Type L Function
bw.pplHeat

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

Cross Validated Bandwidth Selection for Relative Risk Estimation
bind.fv

Combine Function Value Tables
dclf.sigtrace

Significance Trace of Cressie-Loosmore-Ford or Maximum Absolute Deviation Test
coef.mppm

Coefficients of Point Process Model Fitted to Multiple Point Patterns
dclf.progress

Progress Plot of Test of Spatial Pattern
detpointprocfamilyfun

Construct a New Determinantal Point Process Model Family Function
circdensity

Density Estimation for Circular Data
coef.ppm

Coefficients of Fitted Point Process Model
SatPiece

Piecewise Constant Saturated Pairwise Interaction Point Process Model
Strauss

The Strauss Point Process Model
Saturated

Saturated Pairwise Interaction model
dfbetas.ppm

Parameter Influence Measure
dg.sigtrace

Significance Trace of Dao-Genton Test
dg.progress

Progress Plot of Dao-Genton Test of Spatial Pattern
effectfun

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

Force Model to be Valid
formula.ppm

Model Formulae for Gibbs Point Process Models
formula.fv

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

Array of Simulation Envelopes of Summary Function
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
anova.mppm

ANOVA for Fitted Point Process Models for Replicated Patterns
as.owin

Convert Data To Class owin
as.ppm

Extract Fitted Point Process Model
anova.ppm

ANOVA for Fitted Point Process Models
bits.envelope

Global Envelopes for Balanced Independent Two-Stage Test
Tstat

Third order summary statistic
fv.object

Function Value Table
fvnames

Abbreviations for Groups of Columns in Function Value Table
dmixpois

Mixed Poisson Distribution
densityAdaptiveKernel

Adaptive Kernel Estimate of Intensity of Point Pattern
ic.kppm

Model selection criteria for the intensity function of a point process
densityHeat

Diffusion Estimate of Point Pattern Intensity
bw.stoyan

Stoyan's Rule of Thumb for Bandwidth Selection
WindowOnly

Extract Window of Spatial Object
idw

Inverse-distance weighted smoothing of observations at irregular points
cauchy.estK

Fit the Neyman-Scott cluster process with Cauchy kernel
bits.test

Balanced Independent Two-Stage Monte Carlo Test
domain

Extract the Domain of any Spatial Object
dppkernel

Extract Kernel from Determinantal Point Process Model Object
is.stationary

Recognise Stationary and Poisson Point Process Models
isf.object

Interaction Structure Family Objects
cauchy.estpcf

Fit the Neyman-Scott cluster process with Cauchy kernel
kernel.squint

Integral of Squared Kernel
collapse.fv

Collapse Several Function Tables into One
cdf.test

Spatial Distribution Test for Point Pattern or Point Process Model
kernel.moment

Moment of Smoothing Kernel
coef.slrm

Coefficients of Fitted Spatial Logistic Regression Model
as.function.rhohat

Convert Function Table to Function
dppm

Fit Determinantal Point Process Model
logLik.slrm

Loglikelihood of Spatial Logistic Regression
pairsat.family

Saturated Pairwise Interaction Point Process Family
methods.rho2hat

Methods for Intensity Functions of Two Spatial Covariates
methods.objsurf

Methods for Objective Function Surfaces
logLik.ppm

Log Likelihood and AIC for Point Process Model
lurking

Lurking Variable Plot
nndensity.ppp

Estimate Intensity of Point Pattern Using Nearest Neighbour Distances
lohboot

Bootstrap Confidence Bands for Summary Function
compatible.fv

Test Whether Function Objects Are Compatible
nnorient

Nearest Neighbour Orientation Distribution
pairwise.family

Pairwise Interaction Process Family
clusterfit

Fit Cluster or Cox Point Process Model via Minimum Contrast
bw.frac

Bandwidth Selection Based on Window Geometry
as.fv

Convert Data To Class fv
density.psp

Kernel Smoothing of Line Segment Pattern
bw.diggle

Cross Validated Bandwidth Selection for Kernel Density
gauss.hermite

Gauss-Hermite Quadrature Approximation to Expectation for Normal Distribution
harmonic

Basis for Harmonic Functions
inforder.family

Infinite Order Interaction Family
pcfdot.inhom

Inhomogeneous Multitype Pair Correlation Function (Type-i-To-Any-Type)
influence.ppm

Influence Measure for Spatial Point Process Model
pcfdot

Multitype pair correlation function (i-to-any)
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
clusterkernel

Extract Cluster Offspring Kernel
cov.im

Covariance and Correlation between Images
densityfun.ppp

Kernel Estimate of Intensity as a Spatial Function
plot.influence.ppm

Plot Influence Measure
distcdf

Distribution Function of Interpoint Distance
dkernel

Kernel distributions and random generation
plot.kppm

Plot a fitted cluster point process
deriv.fv

Calculate Derivative of Function Values
dim.detpointprocfamily

Dimension of Determinantal Point Process Model
data.ppm

Extract Original Data from a Fitted Point Process Model
dimhat

Estimate Dimension of Central Subspace
plot.slrm

Plot a Fitted Spatial Logistic Regression
lgcp.estpcf

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

Neighbourhood density function
compileK

Generic Calculation of K Function and Pair Correlation Function
[.ssf

Subset of spatially sampled function
Extract.influence.ppm

Extract Subset of Influence Object
Extract.fv

Extract or Replace Subset of Function Values
F3est

Empty Space Function of a Three-Dimensional Point Pattern
dppapproxpcf

Approximate Pair Correlation Function of Determinantal Point Process Model
dppeigen

Internal function calculating eig and index
predict.ppm

Prediction from a Fitted Point Process Model
plot.ssf

Plot a Spatially Sampled Function
pool.fasp

Pool Data from Several Function Arrays
predict.rppm

Make Predictions From a Recursively Partitioned Point Process Model
pool.envelope

Pool Data from Several Envelopes
dppBessel

Bessel Type Determinantal Point Process Model
dffit.ppm

Case Deletion Effect Measure of Fitted Model
dppCauchy

Generalized Cauchy Determinantal Point Process Model
dg.envelope

Global Envelopes for Dao-Genton Test
Gest

Nearest Neighbour Distance Function G
edge.Ripley

Ripley's Isotropic Edge Correction
eval.fasp

Evaluate Expression Involving Function Arrays
fitted.mppm

Fitted Conditional Intensity for Multiple Point Process Model
eval.fv

Evaluate Expression Involving Functions
dummy.ppm

Extract Dummy Points Used to Fit a Point Process Model
Geyer

Geyer's Saturation Point Process Model
localKdot

Local Multitype K Function (Dot-Type)
Hybrid

Hybrid Interaction Point Process Model
dppGauss

Gaussian Determinantal Point Process Model
dppspecden

Extract Spectral Density from Determinantal Point Process Model Object
envelope

Simulation Envelopes of Summary Function
envelope.envelope

Recompute Envelopes
fryplot

Fry Plot of Point Pattern
dppparbounds

Parameter Bound for a Determinantal Point Process Model
harmonise.fv

Make Function Tables Compatible
localKinhom

Inhomogeneous Neighbourhood Density Function
dppMatern

Whittle-Matern Determinantal Point Process Model
fitted.ppm

Fitted Conditional Intensity for Point Process Model
dppspecdenrange

Range of Spectral Density of a Determinantal Point Process Model
Kest.fft

K-function using FFT
dummify

Convert Data to Numeric Values by Constructing Dummy Variables
emend.ppm

Force Point Process Model to be Valid
Iest

Estimate the I-function
markconnect

Mark Connection Function
lurking.mppm

Lurking Variable Plot for Multiple Point Patterns
fitted.slrm

Fitted Probabilities for Spatial Logistic Regression
Kinhom

Inhomogeneous K-function
emend.slrm

Force Spatial Logistic Regression Model to be Valid
fixef.mppm

Extract Fixed Effects from Point Process Model
improve.kppm

Improve Intensity Estimate of Fitted Cluster Point Process Model
mincontrast

Method of Minimum Contrast
methods.kppm

Methods for Cluster Point Process Models
miplot

Morisita Index Plot
methods.leverage.ppm

Methods for Leverage Objects
nnclean

Nearest Neighbour Clutter Removal
qqplot.ppm

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

Pseudoscore Diagnostic For Fitted Model against Saturation Alternative
leverage.slrm

Leverage and Influence Diagnostics for Spatial Logistic Regression
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
is.hybrid

Test Whether Object is a Hybrid
is.marked.ppm

Test Whether A Point Process Model is Marked
lgcp.estK

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
increment.fv

Increments of a Function
Kmark

Mark-Weighted K Function
fv

Create a Function Value Table
ippm

Fit Point Process Model Involving Irregular Trend Parameters
harmonise.msr

Make Measures Compatible
intensity.slrm

Intensity of Fitted Spatial Logistic Regression Model
leverage.ppm

Leverage Measure for Spatial Point Process Model
laslett

Laslett's Transform
intensity.ppm

Intensity of Fitted Point Process Model
hotbox

Heat Kernel for a Two-Dimensional Rectangle
methods.fii

Methods for Fitted Interactions
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
is.dppm

Recognise Fitted Determinantal Point Process Models
mppm

Fit Point Process Model to Several Point Patterns
methods.influence.ppm

Methods for Influence Objects
hybrid.family

Hybrid Interaction Family
model.matrix.mppm

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

Compute Images of Constructed Covariates
localpcf

Local pair correlation function
parres

Partial Residuals for Point Process Model
pcf

Pair Correlation Function
Kmeasure

Reduced Second Moment Measure
pcf.ppp

Pair Correlation Function of Point Pattern
intensity.dppm

Intensity of Determinantal Point Process Model
is.multitype.ppm

Test Whether A Point Process Model is Multitype
integral.msr

Integral of a Measure
ragsAreaInter

Alternating Gibbs Sampler for Area-Interaction Process
is.ppm

Test Whether An Object Is A Fitted Point Process Model
msr

Signed or Vector-Valued Measure
pairorient

Point Pair Orientation Distribution
plot.dppm

Plot a fitted determinantal point process
rags

Alternating Gibbs Sampler for Multitype Point Processes
km.rs

Kaplan-Meier and Reduced Sample Estimator using Histograms
reach.dppm

Range of Interaction for a Determinantal Point Process Model
pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern
Ksector

Sector K-function
reach.kppm

Range of Interaction for a Cox or Cluster Point Process Model
plot.envelope

Plot a Simulation Envelope
plot.scan.test

Plot Result of Scan Test
kppm

Fit Cluster or Cox Point Process Model
plot.rppm

Plot a Recursively Partitioned Point Process Model
LambertW

Lambert's W Function
markmarkscatter

Mark-Mark Scatter Plot
marktable

Tabulate Marks in Neighbourhood of Every Point in a Point Pattern
model.depends

Identify Covariates Involved in each Model Term
pairs.im

Scatterplot Matrix for Pixel Images
repul.dppm

Repulsiveness Index of a Determinantal Point Process Model
logLik.dppm

Log Likelihood and AIC for Fitted Determinantal Point Process Model
residuals.dppm

Residuals for Fitted Determinantal Point Process Model
rCauchy

Simulate Neyman-Scott Point Process with Cauchy cluster kernel
rDGS

Perfect Simulation of the Diggle-Gates-Stibbard Process
rMosaicField

Mosaic Random Field
ranef.mppm

Extract Random Effects from Point Process Model
ragsMultiHard

Alternating Gibbs Sampler for Multitype Hard Core Process
rMaternII

Simulate Matern Model II
localKcross

Local Multitype K Function (Cross-Type)
pcf.fasp

Pair Correlation Function obtained from array of K functions
rmh.default

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

Area Under ROC Curve
bc.ppm

Bias Correction for Fitted Model
allstats

Calculate four standard summary functions of a point pattern.
bw.pcf

Cross Validated Bandwidth Selection for Pair Correlation Function
alltypes

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

Clark and Evans Aggregation Index
bw.ppl

Likelihood Cross Validation Bandwidth Selection for Kernel Density
localKcross.inhom

Inhomogeneous Multitype K Function
model.frame.ppm

Extract the Variables in a Point Process Model
pcf.fv

Pair Correlation Function obtained from K Function
markcorr

Mark Correlation Function
markcrosscorr

Mark Cross-Correlation Function
plot.laslett

Plot Laslett Transform
clusterradius

Compute or Extract Effective Range of Cluster Kernel
clusterset

Allard-Fraley Estimator of Cluster Feature
clarkevans.test

Clark and Evans Test
suffstat

Sufficient Statistic of Point Process Model
reduced.sample

Reduced Sample Estimator using Histogram Data
runifpoint

Generate N Uniform Random Points
rectcontact

Contact Distribution Function using Rectangular Structuring Element
rpoisline

Generate Poisson Random Line Process
rmh.ppm

Simulate from a Fitted Point Process Model
rmhexpand

Specify Simulation Window or Expansion Rule
rmhcontrol

Set Control Parameters for Metropolis-Hastings Algorithm.
model.matrix.ppm

Extract Design Matrix from Point Process Model
ord.family

Ord Interaction Process Family
methods.dppm

Methods for Determinantal Point Process Models
pcfinhom

Inhomogeneous Pair Correlation Function
pcfmulti

Marked pair correlation function
model.matrix.slrm

Extract Design Matrix from Spatial Logistic Regression Model
pairMean

Mean of a Function of Interpoint Distance
measureVariation

Positive and Negative Parts, and Variation, of a Measure
methods.ssf

Methods for Spatially Sampled Functions
plot.plotppm

Plot a plotppm Object Created by plot.ppm
rpoislinetess

Poisson Line Tessellation
npfun

Dummy Function Returns Number of Points
scanLRTS

Likelihood Ratio Test Statistic for Scan Test
runifpointOnLines

Generate N Uniform Random Points On Line Segments
methods.zclustermodel

Methods for Cluster Models
rmpoint

Generate N Random Multitype Points
rmhstart

Determine Initial State for Metropolis-Hastings Simulation.
objsurf

Objective Function Surface
polynom

Polynomial in One or Two Variables
plot.studpermutest

Plot a Studentised Permutation Test
plot.leverage.ppm

Plot Leverage Function
default.rmhcontrol

Set Default Control Parameters for Metropolis-Hastings Algorithm.
plot.bermantest

Plot Result of Berman Test
slrm

Spatial Logistic Regression
simulate.slrm

Simulate a Fitted Spatial Logistic Regression Model
runifpointx

Generate N Uniform Random Points in Any Dimensions
pcfcross

Multitype pair correlation function (cross-type)
predict.slrm

Predicted or Fitted Values from Spatial Logistic Regression
runifpoint3

Generate N Uniform Random Points in Three Dimensions
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
plot.cdftest

Plot a Spatial Distribution Test
density.ppp

Kernel Smoothed Intensity of Point Pattern
densityHeat.ppp

Diffusion Estimate of Point Pattern Intensity
densityVoronoi

Intensity Estimate of Point Pattern Using Voronoi-Dirichlet Tessellation
print.ppm

Print a Fitted Point Process Model
subfits

Extract List of Individual Point Process Models
unstack.msr

Separate a Vector Measure into its Scalar Components
subspaceDistance

Distance Between Linear Spaces
valid.slrm

Check Whether Spatial Logistic Regression Model is Valid
unitname

Name for Unit of Length
pool

Pool Data
plot.mppm

plot a Fitted Multiple Point Process Model
plot.ppm

plot a Fitted Point Process Model
dppPowerExp

Power Exponential Spectral Determinantal Point Process Model
diagnose.ppm

Diagnostic Plots for Fitted Point Process Model
dg.test

Dao-Genton Adjusted Goodness-Of-Fit Test
quad.ppm

Extract Quadrature Scheme Used to Fit a Point Process Model
predict.kppm

Prediction from a Fitted Cluster Point Process Model
pool.anylist

Pool Data from a List of Objects
quadrat.test

Dispersion Test for Spatial Point Pattern Based on Quadrat Counts
rThomas

Simulate Thomas Process
varblock

Estimate Variance of Summary Statistic by Subdivision
predict.mppm

Prediction for Fitted Multiple Point Process Model
rdpp

Simulation of a Determinantal Point Process
quadratresample

Resample a Point Pattern by Resampling Quadrats
scan.test

Spatial Scan Test
pool.quadrattest

Pool Several Quadrat Tests
pool.fv

Pool Several Functions
plot.msr

Plot a Signed or Vector-Valued Measure
vargamma.estpcf

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

Leverage and Influence Measures for Spatial Point Process Model
rshift.splitppp

Randomly Shift a List of Point Patterns
rMosaicSet

Mosaic Random Set
quantile.density

Quantiles of a Density Estimate
spatstat.core-deprecated

Deprecated spatstat.core functions
with.ssf

Evaluate Expression in a Spatially Sampled Function
rpoisppx

Generate Poisson Point Pattern in Any Dimensions
rNeymanScott

Simulate Neyman-Scott Process
vcov.kppm

Variance-Covariance Matrix for a Fitted Cluster Point Process Model
summary.dppm

Summarizing a Fitted Determinantal Point Process Model
valid.ppm

Check Whether Point Process Model is Valid
dppapproxkernel

Approximate Determinantal Point Process Kernel
psib

Sibling Probability of Cluster Point Process
rGaussPoisson

Simulate Gauss-Poisson Process
pseudoR2

Calculate Pseudo-R-Squared for Point Process Model
eem

Exponential Energy Marks
edge.Trans

Translation Edge Correction
response

Extract the Values of the Response from a Fitted Model
valid.detpointprocfamily

Check Validity of a Determinantal Point Process Model
runifdisc

Generate N Uniform Random Points in a Disc
rmhmodel.list

Define Point Process Model for Metropolis-Hastings Simulation.
expand.owin

Apply Expansion Rule
fasp.object

Function Arrays for Spatial Patterns
exactMPLEstrauss

Exact Maximum Pseudolikelihood Estimate for Stationary Strauss Process
fitin.ppm

Extract the Interaction from a Fitted Point Process Model
hierpair.family

Hierarchical Pairwise Interaction Process Family
hopskel

Hopkins-Skellam Test
predict.dppm

Prediction from a Fitted Determinantal Point Process Model
rVarGamma

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

Scale factor for density kernel
matclust.estK

Fit the Matern Cluster Point Process by Minimum Contrast
markvario

Mark Variogram
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
simulate.dppm

Simulation of Determinantal Point Process Model
residuals.kppm

Residuals for Fitted Cox or Cluster Point Process Model
rPoissonCluster

Simulate Poisson Cluster Process
reach

Interaction Distance of a Point Process
rDiggleGratton

Perfect Simulation of the Diggle-Gratton Process
measureContinuous

Discrete and Continuous Components of a Measure
matclust.estpcf

Fit the Matern Cluster Point Process by Minimum Contrast Using Pair Correlation
residuals.mppm

Residuals for Point Process Model Fitted to Multiple Point Patterns
methods.rhohat

Methods for Intensity Functions of Spatial Covariate
rmpoispp

Generate Multitype Poisson Point Pattern
rstrat

Simulate Stratified Random Point Pattern
vcov.ppm

Variance-Covariance Matrix for a Fitted Point Process Model
rmhmodel.ppm

Interpret Fitted Model for Metropolis-Hastings Simulation.
rSSI

Simulate Simple Sequential Inhibition
rpoispp3

Generate Poisson Point Pattern in Three Dimensions
update.detpointprocfamily

Set Parameter Values in a Determinantal Point Process Model
methods.slrm

Methods for Spatial Logistic Regression Models
rpoisppOnLines

Generate Poisson Point Pattern on Line Segments
panel.contour

Panel Plots using Colour Image or Contour Lines
plot.fasp

Plot a Function Array
parameters

Extract Model Parameters in Understandable Form
psst

Pseudoscore Diagnostic For Fitted Model against General Alternative
vcov.mppm

Calculate Variance-Covariance Matrix for Fitted Multiple Point Process Model
spatstat.core-internal

Internal spatstat.core functions
simulate.kppm

Simulate a Fitted Cluster Point Process Model
rex

Richardson Extrapolation
plot.fv

Plot Function Values
ssf

Spatially Sampled Function
psstA

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

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

Pool Data from Several Ratio Objects
plot.profilepl

Plot Profile Likelihood
ppm

Fit Point Process Model to Data
ppm.object

Class of Fitted Point Process Models
stieltjes

Compute Integral of Function Against Cumulative Distribution
varcount

Predicted Variance of the Number of Points
ppm.ppp

Fit Point Process Model to Point Pattern Data
rHardcore

Perfect Simulation of the Hardcore Process
rPSNCP

Simulate Product Shot-noise Cox Process
rotmean

Rotational Average of a Pixel Image
update.ppm

Update a Fitted Point Process Model
rnoise

Random Pixel Noise
rlabel

Random Re-Labelling of Point Pattern
thomas.estpcf

Fit the Thomas Point Process by Minimum Contrast
rmh

Simulate point patterns using the Metropolis-Hastings algorithm.
rPenttinen

Perfect Simulation of the Penttinen Process
rLGCP

Simulate Log-Gaussian Cox Process
rtemper

Simulated Annealing or Simulated Tempering for Gibbs Point Processes
thomas.estK

Fit the Thomas Point Process by Minimum Contrast
vargamma.estK

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

Generate Poisson Point Pattern
profilepl

Fit Models by Profile Maximum Pseudolikelihood or AIC
range.fv

Range of Function Values
residuals.ppm

Residuals for Fitted Point Process Model
prune.rppm

Prune a Recursively Partitioned Point Process Model
rcell

Simulate Baddeley-Silverman Cell Process
rcellnumber

Generate Random Numbers of Points for Cell Process
quadrat.test.mppm

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

Ratio object
segregation.test

Test of Spatial Segregation of Types
rmhmodel.default

Build Point Process Model for Metropolis-Hastings Simulation.
rknn

Theoretical Distribution of Nearest Neighbour Distance
residuals.slrm

Residuals for Fitted Spatial Logistic Regression Model
quadrat.test.splitppp

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

Perfect Simulation of the Strauss-Hardcore Process
reload.or.compute

Compute Unless Previously Saved
relrisk

Estimate of Spatially-Varying Relative Risk
rStrauss

Perfect Simulation of the Strauss Process
rMaternI

Simulate Matern Model I
relrisk.ppm

Parametric Estimate of Spatially-Varying Relative Risk
relrisk.ppp

Nonparametric Estimate of Spatially-Varying Relative Risk
rmhmodel

Define Point Process Model for Metropolis-Hastings Simulation.
rMatClust

Simulate Matern Cluster Process
rho2hat

Smoothed Relative Density of Pairs of Covariate Values
rthinclumps

Random Thinning of Clumps
update.kppm

Update a Fitted Cluster Point Process Model
with.fv

Evaluate an Expression in a Function Table
spatcov

Estimate the Spatial Covariance Function of a Random Field
rjitter.psp

Random Perturbation of Line Segment Pattern
rthin

Random Thinning
rpoint

Generate N Random Points
simulate.mppm

Simulate a Point Process Model Fitted to Several Point Patterns
sdr

Sufficient Dimension Reduction
sdrPredict

Compute Predictors from Sufficient Dimension Reduction
roc

Receiver Operating Characteristic
rose

Rose Diagram
rshift

Random Shift
rppm

Recursively Partitioned Point Process Model
rhohat

Nonparametric Estimate of Intensity as Function of a Covariate
summary.kppm

Summarizing a Fitted Cox or Cluster Point Process Model
sharpen

Data Sharpening of Point Pattern
simulate.ppm

Simulate a Fitted Gibbs Point Process Model
spatialcdf

Spatial Cumulative Distribution Function
update.interact

Update an Interpoint Interaction
rshift.ppp

Randomly Shift a Point Pattern
zclustermodel

Cluster Point Process Model
thresholdCI

Confidence Interval for Threshold of Numerical Predictor
rshift.psp

Randomly Shift a Line Segment Pattern
split.msr

Divide a Measure into Parts
transect.im

Pixel Values Along a Transect
spatstat.core-package

The spatstat.core Package
valid

Check Whether Point Process Model is Valid
stienen

Stienen Diagram
triplet.family

Triplet Interaction Family
update.rmhcontrol

Update Control Parameters of Metropolis-Hastings Algorithm
studpermu.test

Studentised Permutation Test
vcov.slrm

Variance-Covariance Matrix for a Fitted Spatial Logistic Regression
will.expand

Test Expansion Rule
summary.ppm

Summarizing a Fitted Point Process Model
thresholdSelect

Select Threshold to Convert Numerical Predictor to Binary Predictor
with.msr

Evaluate Expression Involving Components of a Measure