Learn R Programming

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

spatstat.core (version 2.3-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

337

Version

2.3-0

License

GPL (>= 2)

Maintainer

Last Published

July 16th, 2021

Functions in spatstat.core (2.3-0)

Concom

The Connected Component Process Model
CDF

Cumulative Distribution Function From Kernel Density Estimate
Emark

Diagnostics for random marking
DiggleGatesStibbard

Diggle-Gates-Stibbard Point Process Model
DiggleGratton

Diggle-Gratton model
Extract.influence.ppm

Extract Subset of Influence Object
Extract.fv

Extract or Replace Subset of Function Values
G3est

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

Model Compensator of Nearest Neighbour Function
FmultiInhom

Inhomogeneous Marked F-Function
Finhom

Inhomogeneous Empty Space Function
Extract.fasp

Extract Subset of Function Array
Extract.leverage.ppm

Extract Subset of Leverage Object
Extract.msr

Extract Subset of Signed or Vector Measure
AreaInter

The Area Interaction Point Process Model
Gmulti

Marked Nearest Neighbour Distance Function
Gres

Residual G Function
Hardcore

The Hard Core Point Process Model
GmultiInhom

Inhomogeneous Marked G-Function
[.ssf

Subset of spatially sampled function
F3est

Empty Space Function of a Three-Dimensional Point Pattern
BadGey

Hybrid Geyer Point Process Model
Gdot

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

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

Estimate the Empty Space Function or its Hazard Rate
Fiksel

The Fiksel Interaction
HierStrauss

The Hierarchical Strauss Point Process Model
Gfox

Foxall's Distance Functions
Gest

Nearest Neighbour Distance Function G
Iest

Estimate the I-function
Geyer

Geyer's Saturation Point Process Model
Ginhom

Inhomogeneous Nearest Neighbour Function
Hybrid

Hybrid Interaction Point Process Model
HierStraussHard

The Hierarchical Strauss Hard Core Point Process Model
HierHard

The Hierarchical Hard Core Point Process Model
Hest

Spherical Contact Distribution Function
Jdot

Multitype J Function (i-to-any)
Jcross

Multitype J Function (i-to-j)
Kest.fft

K-function using FFT
Kcom

Model Compensator of K Function
Kcross.inhom

Inhomogeneous Cross K Function
Kinhom

Inhomogeneous K-function
Kcross

Multitype K Function (Cross-type)
Jinhom

Inhomogeneous J-function
Jest

Estimate the J-function
Kmodel.kppm

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

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

Multitype K Function (i-to-any)
Jmulti

Marked J Function
K3est

K-function of a Three-Dimensional Point Pattern
Kmark

Mark-Weighted K Function
Lest

L-function
Kmulti

Marked K-Function
LennardJones

The Lennard-Jones Potential
Kmeasure

Reduced Second Moment Measure
PairPiece

The Piecewise Constant Pairwise Interaction Point Process Model
Kres

Residual K Function
Kscaled

Locally Scaled K-function
Kmulti.inhom

Inhomogeneous Marked K-Function
Linhom

Inhomogeneous L-function
OrdThresh

Ord's Interaction model
Lcross

Multitype L-function (cross-type)
PPversion

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

The Multitype Hard Core Point Process Model
Kdot.inhom

Inhomogeneous Multitype K Dot Function
Kest

K-function
SatPiece

Piecewise Constant Saturated Pairwise Interaction Point Process Model
Saturated

Saturated Pairwise Interaction model
Ops.msr

Arithmetic Operations on Measures
Ksector

Sector K-function
LambertW

Lambert's W Function
Ord

Generic Ord Interaction model
Lcross.inhom

Inhomogeneous Cross Type L Function
Pairwise

Generic Pairwise Interaction model
as.interact

Extract Interaction Structure
as.layered.msr

Convert Measure To Layered Object
Smooth.ssf

Smooth a Spatially Sampled Function
Smoothfun.ppp

Smooth Interpolation of Marks as a Spatial Function
MultiStrauss

The Multitype Strauss Point Process Model
Smooth.msr

Smooth a Signed or Vector-Valued Measure
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
Smooth.ppp

Spatial smoothing of observations at irregular points
Ldot

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

Inhomogeneous Multitype L Dot Function
Tstat

Third order summary statistic
WindowOnly

Extract Window of Spatial Object
bw.relrisk

Cross Validated Bandwidth Selection for Relative Risk Estimation
bw.pplHeat

Bandwidth Selection for Diffusion Smoother by Likelihood Cross-Validation
StraussHard

The Strauss / Hard Core Point Process Model
adaptive.density

Adaptive Estimate of Intensity of Point Pattern
cdf.test.mppm

Spatial Distribution Test for Multiple Point Process Model
Triplets

The Triplet Point Process Model
Poisson

Poisson Point Process Model
Penttinen

Penttinen Interaction
addvar

Added Variable Plot for Point Process Model
MultiStraussHard

The Multitype/Hard Core Strauss Point Process Model
circdensity

Density Estimation for Circular Data
as.function.rhohat

Convert Function Table to Function
as.owin

Convert Data To Class owin
as.ppm

Extract Fitted Point Process Model
as.fv

Convert Data To Class fv
compatible.fv

Test Whether Function Objects Are Compatible
blur

Apply Gaussian Blur to a Pixel Image
Softcore

The Soft Core Point Process Model
compileK

Generic Calculation of K Function and Pair Correlation Function
anova.slrm

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

Coerce Envelope to Data Frame
Smooth

Spatial smoothing of data
Smooth.fv

Apply Smoothing to Function Values
Strauss

The Strauss Point Process Model
bw.CvL

Cronie and van Lieshout's Criterion for Bandwidth Selection for Kernel Density
anova.mppm

ANOVA for Fitted Point Process Models for Replicated Patterns
anova.ppm

ANOVA for Fitted Point Process Models
bw.abram

Abramson's Adaptive Bandwidths
bw.CvLHeat

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

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

Cross Validated Bandwidth Selection for Spatial Smoothing
as.function.fv

Convert Function Value Table to Function
dfbetas.ppm

Parameter Influence Measure
detpointprocfamilyfun

Construct a New Determinantal Point Process Model Family Function
bits.envelope

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

Balanced Independent Two-Stage Monte Carlo Test
as.function.leverage.ppm

Convert Leverage Object to Function of Coordinates
allstats

Calculate four standard summary functions of a point pattern.
alltypes

Calculate Summary Statistic for All Types in a Multitype Point Pattern
dim.detpointprocfamily

Dimension of Determinantal Point Process Model
clusterkernel

Extract Cluster Offspring Kernel
clusterfit

Fit Cluster or Cox Point Process Model via Minimum Contrast
dimhat

Estimate Dimension of Central Subspace
bw.diggle

Cross Validated Bandwidth Selection for Kernel Density
berman.test

Berman's Tests for Point Process Model
bind.fv

Combine Function Value Tables
cauchy.estK

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

Stoyan's Rule of Thumb for Bandwidth Selection
cdf.test

Spatial Distribution Test for Point Pattern or Point Process Model
bw.frac

Bandwidth Selection Based on Window Geometry
cauchy.estpcf

Fit the Neyman-Scott cluster process with Cauchy kernel
auc

Area Under ROC Curve
bc.ppm

Bias Correction for Fitted Model
compareFit

Residual Diagnostics for Multiple Fitted Models
compatible.fasp

Test Whether Function Arrays Are Compatible
bw.pcf

Cross Validated Bandwidth Selection for Pair Correlation Function
coef.slrm

Coefficients of Fitted Spatial Logistic Regression Model
collapse.fv

Collapse Several Function Tables into One
clarkevans.test

Clark and Evans Test
clarkevans

Clark and Evans Aggregation Index
bw.ppl

Likelihood Cross Validation Bandwidth Selection for Kernel Density
edge.Trans

Translation Edge Correction
eem

Exponential Energy Marks
deriv.fv

Calculate Derivative of Function Values
dclf.sigtrace

Significance Trace of Cressie-Loosmore-Ford or Maximum Absolute Deviation Test
dclf.progress

Progress Plot of Test of Spatial Pattern
default.rmhcontrol

Set Default Control Parameters for Metropolis-Hastings Algorithm.
density.ppp

Kernel Smoothed Intensity of Point Pattern
coef.ppm

Coefficients of Fitted Point Process Model
coef.mppm

Coefficients of Point Process Model Fitted to Multiple Point Patterns
densityHeat

Diffusion Estimate of Point Pattern Intensity
densityAdaptiveKernel

Adaptive Kernel Estimate of Intensity of Point Pattern
edge.Ripley

Ripley's Isotropic Edge Correction
clusterradius

Compute or Extract Effective Range of Cluster Kernel
distcdf

Distribution Function of Interpoint Distance
densityfun.ppp

Kernel Estimate of Intensity as a Spatial Function
envelope.pp3

Simulation Envelopes of Summary Function for 3D Point Pattern
dkernel

Kernel distributions and random generation
closepaircounts

Count Close Pairs of Points
diagnose.ppm

Diagnostic Plots for Fitted Point Process Model
dg.test

Dao-Genton Adjusted Goodness-Of-Fit Test
clusterset

Allard-Fraley Estimator of Cluster Feature
formula.ppm

Model Formulae for Gibbs Point Process Models
hierpair.family

Hierarchical Pairwise Interaction Process Family
quantile.density

Quantiles of a Density Estimate
formula.fv

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

Hopkins-Skellam Test
clusterfield

Field of clusters
dppPowerExp

Power Exponential Spectral Determinantal Point Process Model
envelopeArray

Array of Simulation Envelopes of Summary Function
leverage.ppm

Leverage Measure for Spatial Point Process Model
improve.kppm

Improve Intensity Estimate of Fitted Cluster Point Process Model
increment.fv

Increments of a Function
dclf.test

Diggle-Cressie-Loosmore-Ford and Maximum Absolute Deviation Tests
default.expand

Default Expansion Rule for Simulation of Model
pcf3est

Pair Correlation Function of a Three-Dimensional Point Pattern
dppapproxkernel

Approximate Determinantal Point Process Kernel
dummy.ppm

Extract Dummy Points Used to Fit a Point Process Model
logLik.slrm

Loglikelihood of Spatial Logistic Regression
fitted.slrm

Fitted Probabilities for Spatial Logistic Regression
dppGauss

Gaussian Determinantal Point Process Model
dppMatern

Whittle-Matern Determinantal Point Process Model
cov.im

Covariance and Correlation between Images
data.ppm

Extract Original Data from a Fitted Point Process Model
laslett

Laslett's Transform
densityVoronoi

Intensity Estimate of Point Pattern Using Voronoi-Dirichlet Tessellation
densityHeat.ppp

Diffusion Estimate of Point Pattern Intensity
dg.progress

Progress Plot of Dao-Genton Test of Spatial Pattern
dummify

Convert Data to Numeric Values by Constructing Dummy Variables
dppspecdenrange

Range of Spectral Density of a Determinantal Point Process Model
dppapproxpcf

Approximate Pair Correlation Function of Determinantal Point Process Model
markmarkscatter

Mark-Mark Scatter Plot
density.psp

Kernel Smoothing of Line Segment Pattern
pairsat.family

Saturated Pairwise Interaction Point Process Family
methods.zclustermodel

Methods for Cluster Models
lurking.mppm

Lurking Variable Plot for Multiple Point Patterns
density.splitppp

Kernel Smoothed Intensity of Split Point Pattern
dg.sigtrace

Significance Trace of Dao-Genton Test
dppm

Fit Determinantal Point Process Model
dppkernel

Extract Kernel from Determinantal Point Process Model Object
logLik.dppm

Log Likelihood and AIC for Fitted Determinantal Point Process Model
dppeigen

Internal function calculating eig and index
fv.object

Function Value Table
eval.fasp

Evaluate Expression Involving Function Arrays
exactMPLEstrauss

Exact Maximum Pseudolikelihood Estimate for Stationary Strauss Process
effectfun

Compute Fitted Effect of a Spatial Covariate in a Point Process Model
dg.envelope

Global Envelopes for Dao-Genton Test
dffit.ppm

Case Deletion Effect Measure of Fitted Model
dmixpois

Mixed Poisson Distribution
domain

Extract the Domain of any Spatial Object
eval.fv

Evaluate Expression Involving Functions
nnclean

Nearest Neighbour Clutter Removal
emend.ppm

Force Point Process Model to be Valid
is.multitype.ppm

Test Whether A Point Process Model is Multitype
dppBessel

Bessel Type Determinantal Point Process Model
emend.slrm

Force Spatial Logistic Regression Model to be Valid
hotbox

Heat Kernel for a Two-Dimensional Rectangle
emend

Force Model to be Valid
model.images

Compute Images of Constructed Covariates
fixef.mppm

Extract Fixed Effects from Point Process Model
dppCauchy

Generalized Cauchy Determinantal Point Process Model
gauss.hermite

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

Log Likelihood and AIC for Point Process Model
pool.envelope

Pool Data from Several Envelopes
intensity.ppm

Intensity of Fitted Point Process Model
is.stationary

Recognise Stationary and Poisson Point Process Models
hybrid.family

Hybrid Interaction Family
intensity.slrm

Intensity of Fitted Spatial Logistic Regression Model
pcf

Pair Correlation Function
isf.object

Interaction Structure Family Objects
integral.msr

Integral of a Measure
fitin.ppm

Extract the Interaction from a Fitted Point Process Model
harmonic

Basis for Harmonic Functions
fasp.object

Function Arrays for Spatial Patterns
rPSNCP

Simulate Product Shot-noise Cox Process
inforder.family

Infinite Order Interaction Family
nncorr

Nearest-Neighbour Correlation Indices of Marked Point Pattern
methods.ssf

Methods for Spatially Sampled Functions
fvnames

Abbreviations for Groups of Columns in Function Value Table
parres

Partial Residuals for Point Process Model
intensity.dppm

Intensity of Determinantal Point Process Model
methods.slrm

Methods for Spatial Logistic Regression Models
is.marked.ppm

Test Whether A Point Process Model is Marked
is.ppm

Test Whether An Object Is A Fitted Point Process Model
ippm

Fit Point Process Model Involving Irregular Trend Parameters
dppparbounds

Parameter Bound for a Determinantal Point Process Model
dppspecden

Extract Spectral Density from Determinantal Point Process Model Object
expand.owin

Apply Expansion Rule
marktable

Tabulate Marks in Neighbourhood of Every Point in a Point Pattern
fitted.ppm

Fitted Conditional Intensity for Point Process Model
fitted.mppm

Fitted Conditional Intensity for Multiple Point Process Model
runifpoint

Generate N Uniform Random Points
ppm.object

Class of Fitted Point Process Models
plot.fv

Plot Function Values
kernel.moment

Moment of Smoothing Kernel
print.ppm

Print a Fitted Point Process Model
envelope.envelope

Recompute Envelopes
kaplan.meier

Kaplan-Meier Estimator using Histogram Data
envelope

Simulation Envelopes of Summary Function
influence.ppm

Influence Measure for Spatial Point Process Model
relrisk.ppm

Parametric Estimate of Spatially-Varying Relative Risk
ic.kppm

Model selection criteria for the intensity function of a point process
lgcp.estpcf

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
is.dppm

Recognise Fitted Determinantal Point Process Models
is.hybrid

Test Whether Object is a Hybrid
markcorr

Mark Correlation Function
fv

Create a Function Value Table
km.rs

Kaplan-Meier and Reduced Sample Estimator using Histograms
idw

Inverse-distance weighted smoothing of observations at irregular points
rNeymanScott

Simulate Neyman-Scott Process
kernel.squint

Integral of Squared Kernel
localpcf

Local pair correlation function
miplot

Morisita Index Plot
methods.objsurf

Methods for Objective Function Surfaces
kppm

Fit Cluster or Cox Point Process Model
harmonise.fv

Make Function Tables Compatible
logLik.mppm

Log Likelihood and AIC for Multiple Point Process Model
localK

Neighbourhood density function
pcf.ppp

Pair Correlation Function of Point Pattern
pairwise.family

Pairwise Interaction Process Family
rMaternII

Simulate Matern Model II
matclust.estpcf

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

Simulate Thomas Process
fryplot

Fry Plot of Point Pattern
harmonise.msr

Make Measures Compatible
plot.rppm

Plot a Recursively Partitioned Point Process Model
leverage.slrm

Leverage and Influence Diagnostics for Spatial Logistic Regression
rmpoint

Generate N Random Multitype Points
plot.dppm

Plot a fitted determinantal point process
pool

Pool Data
localKcross

Local Multitype K Function (Cross-Type)
lurking

Lurking Variable Plot
plot.cdftest

Plot a Spatial Distribution Test
model.frame.ppm

Extract the Variables in a Point Process Model
lohboot

Bootstrap Confidence Bands for Summary Function
plot.envelope

Plot a Simulation Envelope
localKcross.inhom

Inhomogeneous Multitype K Function
prune.rppm

Prune a Recursively Partitioned Point Process Model
plot.fasp

Plot a Function Array
profilepl

Fit Models by Profile Maximum Pseudolikelihood or AIC
pool.fasp

Pool Data from Several Function Arrays
kernel.factor

Scale factor for density kernel
logLik.kppm

Log Likelihood and AIC for Fitted Cox or Cluster Point Process Model
runifdisc

Generate N Uniform Random Points in a Disc
ppm.ppp

Fit Point Process Model to Point Pattern Data
lgcp.estK

Fit a Log-Gaussian Cox Point Process by Minimum Contrast
plot.slrm

Plot a Fitted Spatial Logistic Regression
markcrosscorr

Mark Cross-Correlation Function
model.depends

Identify Covariates Involved in each Model Term
methods.kppm

Methods for Cluster Point Process Models
methods.leverage.ppm

Methods for Leverage Objects
markconnect

Mark Connection Function
quadrat.test.mppm

Chi-Squared Test for Multiple Point Process Model Based on Quadrat Counts
pool.quadrattest

Pool Several Quadrat Tests
panel.contour

Panel Plots using Colour Image or Contour Lines
rMosaicField

Mosaic Random Field
reach

Interaction Distance of a Point Process
rdpp

Simulation of a Determinantal Point Process
localKdot

Local Multitype K Function (Dot-Type)
rVarGamma

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

Resample a Point Pattern by Resampling Quadrats
plot.msr

Plot a Signed or Vector-Valued Measure
rpoisline

Generate Poisson Random Line Process
residuals.ppm

Residuals for Fitted Point Process Model
predict.slrm

Predicted or Fitted Values from Spatial Logistic Regression
matclust.estK

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

Methods for Intensity Functions of Spatial Covariate
mincontrast

Method of Minimum Contrast
measureContinuous

Discrete and Continuous Components of a Measure
parameters

Extract Model Parameters in Understandable Form
methods.fii

Methods for Fitted Interactions
plot.ppm

plot a Fitted Point Process Model
nndensity.ppp

Estimate Intensity of Point Pattern Using Nearest Neighbour Distances
rmh.ppm

Simulate from a Fitted Point Process Model
rLGCP

Simulate Log-Gaussian Cox Process
plot.kppm

Plot a fitted cluster point process
methods.rho2hat

Methods for Intensity Functions of Two Spatial Covariates
rmhmodel

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

Test Expansion Rule
rmhexpand

Specify Simulation Window or Expansion Rule
residuals.slrm

Residuals for Fitted Spatial Logistic Regression Model
suffstat

Sufficient Statistic of Point Process Model
npfun

Dummy Function Returns Number of Points
pseudoR2

Calculate Pseudo-R-Squared for Point Process Model
pairorient

Point Pair Orientation Distribution
predict.mppm

Prediction for Fitted Multiple Point Process Model
reload.or.compute

Compute Unless Previously Saved
plot.laslett

Plot Laslett Transform
markvario

Mark Variogram
localKinhom

Inhomogeneous Neighbourhood Density Function
mppm

Fit Point Process Model to Several Point Patterns
measureVariation

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

Inhomogeneous Pair Correlation Function
pcfdot.inhom

Inhomogeneous Multitype Pair Correlation Function (Type-i-To-Any-Type)
pcf.fasp

Pair Correlation Function obtained from array of K functions
objsurf

Objective Function Surface
rpoint

Generate N Random Points
rSSI

Simulate Simple Sequential Inhibition
plot.quadrattest

Display the result of a quadrat counting test.
relrisk

Estimate of Spatially-Varying Relative Risk
pairMean

Mean of a Function of Interpoint Distance
plot.plotppm

Plot a plotppm Object Created by plot.ppm
pcfdot

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

Estimate the Spatial Covariance Function of a Random Field
pairs.im

Scatterplot Matrix for Pixel Images
psst

Pseudoscore Diagnostic For Fitted Model against General Alternative
model.matrix.slrm

Extract Design Matrix from Spatial Logistic Regression Model
pcfmulti

Marked pair correlation function
plot.mppm

plot a Fitted Multiple Point Process Model
rshift.ppp

Randomly Shift a Point Pattern
pcf.fv

Pair Correlation Function obtained from K Function
pool.anylist

Pool Data from a List of Objects
predict.kppm

Prediction from a Fitted Cluster Point Process Model
methods.dppm

Methods for Determinantal Point Process Models
nnorient

Nearest Neighbour Orientation Distribution
rMosaicSet

Mosaic Random Set
plot.influence.ppm

Plot Influence Measure
rpoisppOnLines

Generate Poisson Point Pattern on Line Segments
reduced.sample

Reduced Sample Estimator using Histogram Data
rags

Alternating Gibbs Sampler for Multitype Point Processes
predict.dppm

Prediction from a Fitted Determinantal Point Process Model
plot.studpermutest

Plot a Studentised Permutation Test
plot.profilepl

Plot Profile Likelihood
rMaternI

Simulate Matern Model I
model.matrix.mppm

Extract Design Matrix of Point Process Model for Several Point Patterns
methods.influence.ppm

Methods for Influence Objects
spatialcdf

Spatial Cumulative Distribution Function
slrm

Spatial Logistic Regression
subspaceDistance

Distance Between Linear Spaces
msr

Signed or Vector-Valued Measure
valid

Check Whether Point Process Model is Valid
simulate.ppm

Simulate a Fitted Gibbs Point Process Model
pool.fv

Pool Several Functions
plot.leverage.ppm

Plot Leverage Function
pcfcross

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

Prediction from a Fitted Point Process Model
ppm

Fit Point Process Model to Data
rStraussHard

Perfect Simulation of the Strauss-Hardcore Process
polynom

Polynomial in One or Two Variables
thomas.estK

Fit the Thomas Point Process by Minimum Contrast
unitname

Name for Unit of Length
triplet.family

Triplet Interaction Family
varblock

Estimate Variance of Summary Statistic by Subdivision
simulate.kppm

Simulate a Fitted Cluster Point Process Model
quad.ppm

Extract Quadrature Scheme Used to Fit a Point Process Model
range.fv

Range of Function Values
quadrat.test.splitppp

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

Simulate Poisson Cluster Process
with.fv

Evaluate an Expression in a Function Table
varcount

Predicted Variance of the Number of Points
pool.rat

Pool Data from Several Ratio Objects
sharpen

Data Sharpening of Point Pattern
rshift

Random Shift
ppmInfluence

Leverage and Influence Measures for Spatial Point Process Model
plot.scan.test

Plot Result of Scan Test
stieltjes

Compute Integral of Function Against Cumulative Distribution
rthinclumps

Random Thinning of Clumps
rmh

Simulate point patterns using the Metropolis-Hastings algorithm.
plot.bermantest

Plot Result of Berman Test
psstA

Pseudoscore Diagnostic For Fitted Model against Area-Interaction Alternative
predict.rppm

Make Predictions From a Recursively Partitioned Point Process Model
model.matrix.ppm

Extract Design Matrix from Point Process Model
rCauchy

Simulate Neyman-Scott Point Process with Cauchy cluster kernel
ord.family

Ord Interaction Process Family
rho2hat

Smoothed Relative Density of Pairs of Covariate Values
pcfcross.inhom

Inhomogeneous Multitype Pair Correlation Function (Cross-Type)
rectcontact

Contact Distribution Function using Rectangular Structuring Element
psib

Sibling Probability of Cluster Point Process
relrisk.ppp

Nonparametric Estimate of Spatially-Varying Relative Risk
psstG

Pseudoscore Diagnostic For Fitted Model against Saturation Alternative
rGaussPoisson

Simulate Gauss-Poisson Process
rDiggleGratton

Perfect Simulation of the Diggle-Gratton Process
rat

Ratio object
with.msr

Evaluate Expression Involving Components of a Measure
ranef.mppm

Extract Random Effects from Point Process Model
rStrauss

Perfect Simulation of the Strauss Process
qqplot.ppm

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

Dispersion Test for Spatial Point Pattern Based on Quadrat Counts
simulate.mppm

Simulate a Point Process Model Fitted to Several Point Patterns
rMatClust

Simulate Matern Cluster Process
rHardcore

Perfect Simulation of the Hardcore Process
rnoise

Random Pixel Noise
rcellnumber

Generate Random Numbers of Points for Cell Process
rcell

Simulate Baddeley-Silverman Cell Process
rDGS

Perfect Simulation of the Diggle-Gates-Stibbard Process
rPenttinen

Perfect Simulation of the Penttinen Process
rppm

Recursively Partitioned Point Process Model
rex

Richardson Extrapolation
rhohat

Nonparametric Estimate of Intensity as Function of a Covariate
thomas.estpcf

Fit the Thomas Point Process by Minimum Contrast
plot.ssf

Plot a Spatially Sampled Function
rmh.default

Simulate Point Process Models using the Metropolis-Hastings Algorithm.
rmhmodel.ppm

Interpret Fitted Model for Metropolis-Hastings Simulation.
repul.dppm

Repulsiveness Index of a Determinantal Point Process Model
update.interact

Update an Interpoint Interaction
residuals.mppm

Residuals for Point Process Model Fitted to Multiple Point Patterns
ssf

Spatially Sampled Function
reach.dppm

Range of Interaction for a Determinantal Point Process Model
ragsAreaInter

Alternating Gibbs Sampler for Area-Interaction Process
rpoispp3

Generate Poisson Point Pattern in Three Dimensions
sdrPredict

Compute Predictors from Sufficient Dimension Reduction
roc

Receiver Operating Characteristic
simulate.slrm

Simulate a Fitted Spatial Logistic Regression Model
rose

Rose Diagram
segregation.test

Test of Spatial Segregation of Types
valid.detpointprocfamily

Check Validity of a Determinantal Point Process Model
runifpoint3

Generate N Uniform Random Points in Three Dimensions
summary.ppm

Summarizing a Fitted Point Process Model
with.ssf

Evaluate Expression in a Spatially Sampled Function
residuals.kppm

Residuals for Fitted Cox or Cluster Point Process Model
rmhstart

Determine Initial State for Metropolis-Hastings Simulation.
rlabel

Random Re-Labelling of Point Pattern
reach.kppm

Range of Interaction for a Cox or Cluster Point Process Model
residuals.dppm

Residuals for Fitted Determinantal Point Process Model
rpoispp

Generate Poisson Point Pattern
ragsMultiHard

Alternating Gibbs Sampler for Multitype Hard Core Process
runifpointOnLines

Generate N Uniform Random Points On Line Segments
rknn

Theoretical Distribution of Nearest Neighbour Distance
sdr

Sufficient Dimension Reduction
rmpoispp

Generate Multitype Poisson Point Pattern
response

Extract the Values of the Response from a Fitted Model
summary.dppm

Summarizing a Fitted Determinantal Point Process Model
rmhmodel.list

Define Point Process Model for Metropolis-Hastings Simulation.
rpoisppx

Generate Poisson Point Pattern in Any Dimensions
rstrat

Simulate Stratified Random Point Pattern
zclustermodel

Cluster Point Process Model
rmhmodel.default

Build Point Process Model for Metropolis-Hastings Simulation.
spatstat.core-package

The spatstat.core Package
summary.kppm

Summarizing a Fitted Cox or Cluster Point Process Model
scanLRTS

Likelihood Ratio Test Statistic for Scan Test
spatstat.core-internal

Internal spatstat.core functions
transect.im

Pixel Values Along a Transect
rshift.splitppp

Randomly Shift a List of Point Patterns
simulate.dppm

Simulation of Determinantal Point Process Model
vcov.kppm

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

Variance-Covariance Matrix for a Fitted Point Process Model
rshift.psp

Randomly Shift a Line Segment Pattern
spatstat.core-deprecated

Deprecated spatstat.core functions
rmhcontrol

Set Control Parameters for Metropolis-Hastings Algorithm.
update.rmhcontrol

Update Control Parameters of Metropolis-Hastings Algorithm
update.ppm

Update a Fitted Point Process Model
vcov.slrm

Variance-Covariance Matrix for a Fitted Spatial Logistic Regression
vcov.mppm

Calculate Variance-Covariance Matrix for Fitted Multiple Point Process Model
vargamma.estK

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

Random Thinning
rpoislinetess

Poisson Line Tessellation
vargamma.estpcf

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

Update a Fitted Cluster Point Process Model
rotmean

Rotational Average of a Pixel Image
stienen

Stienen Diagram
runifpointx

Generate N Uniform Random Points in Any Dimensions
studpermu.test

Studentised Permutation Test
rtemper

Simulated Annealing or Simulated Tempering for Gibbs Point Processes
valid.ppm

Check Whether Point Process Model is Valid
scan.test

Spatial Scan Test
split.msr

Divide a Measure into Parts
unstack.msr

Separate a Vector Measure into its Scalar Components
subfits

Extract List of Individual Point Process Models
valid.slrm

Check Whether Spatial Logistic Regression Model is Valid
update.detpointprocfamily

Set Parameter Values in a Determinantal Point Process Model