spatstat.random3.4-3 package

Random Generation Functionality for the 'spatstat' Family

as.owin.rmhmodel

Convert Data To Class owin

clusterfield

Field of clusters

clusterkernel

Extract Cluster Offspring Kernel

clusterradius

Compute or Extract Effective Range of Cluster Kernel

default.expand

Default Expansion Rule for Simulation of Model

default.rmhcontrol

Set Default Control Parameters for Metropolis-Hastings Algorithm.

dmixpois

Mixed Poisson Distribution

domain.rmhmodel

Extract the Domain of any Spatial Object

dpakes

Pakes distribution

expand.owin

Apply Expansion Rule

gauss.hermite

Gauss-Hermite Quadrature Approximation to Expectation for Normal Distr...

is.stationary

Recognise Stationary and Poisson Point Process Models

quadratresample

Resample a Point Pattern by Resampling Quadrats

rags

Alternating Gibbs Sampler for Multitype Point Processes

ragsAreaInter

Alternating Gibbs Sampler for Area-Interaction Process

ragsMultiHard

Alternating Gibbs Sampler for Multitype Hard Core Process

rCauchy

Simulate Neyman-Scott Point Process with Cauchy cluster kernel

rcell

Simulate Baddeley-Silverman Cell Process

rcellnumber

Generate Random Numbers of Points for Cell Process

rclusterBKBC

Simulate Cluster Process using Brix-Kendall Algorithm or Modifications

rDGS

Perfect Simulation of the Diggle-Gates-Stibbard Process

rDiggleGratton

Perfect Simulation of the Diggle-Gratton Process

reach

Interaction Distance of a Point Process Model

recipEnzpois

First Reciprocal Moment of the Truncated Poisson Distribution

rGaussPoisson

Simulate Gauss-Poisson Process

rGRFgauss

Simulate a Gaussian Random Field

rHardcore

Perfect Simulation of the Hardcore Process

rjitter.psp

Random Perturbation of Line Segment Pattern

rknn

Theoretical Distribution of Nearest Neighbour Distance

rlabel

Random Re-Labelling of Point Pattern

rLGCP

Simulate Log-Gaussian Cox Process

rMatClust

Simulate Matern Cluster Process

rMaternI

Simulate Matern Model I

rMaternII

Simulate Matern Model II

rmh.default

Simulate Point Process Models using the Metropolis-Hastings Algorithm.

rmh

Simulate point patterns using the Metropolis-Hastings algorithm.

rmhcontrol

Set Control Parameters for Metropolis-Hastings Algorithm.

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.

rmhmodel

Define Point Process Model for Metropolis-Hastings Simulation.

rmhstart

Determine Initial State for Metropolis-Hastings Simulation.

rMosaicField

Mosaic Random Field

rMosaicSet

Mosaic Random Set

rmpoint

Generate N Random Multitype Points

rmpoispp

Generate Multitype Poisson Point Pattern

rNeymanScott

Simulate Neyman-Scott Process

rnoise

Random Pixel Noise

rPenttinen

Perfect Simulation of the Penttinen Process

rpoint

Generate N Random Points

rpoisline

Generate Poisson Random Line Process

rpoislinetess

Poisson Line Tessellation

rpoispp

Generate Poisson Point Pattern

rpoispp3

Generate Poisson Point Pattern in Three Dimensions

rpoisppOnLines

Generate Poisson Point Pattern on Line Segments

rpoisppx

Generate Poisson Point Pattern in Any Dimensions

rPoissonCluster

Simulate Poisson Cluster Process

rpoistrunc

Random Values from the Truncated Poisson Distribution

rPSNCP

Simulate Product Shot-noise Cox Process

rshift.ppp

Randomly Shift a Point Pattern

rshift.psp

Randomly Shift a Line Segment Pattern

rshift

Random Shift

rshift.splitppp

Randomly Shift a List of Point Patterns

rSSI

Simulate Simple Sequential Inhibition

rstrat

Simulate Stratified Random Point Pattern

rStrauss

Perfect Simulation of the Strauss Process

rStraussHard

Perfect Simulation of the Strauss-Hardcore Process

rtemper

Simulated Annealing or Simulated Tempering for Gibbs Point Processes

rthin

Random Thinning

rthinclumps

Random Thinning of Clumps

rThomas

Simulate Thomas Process

runifdisc

Generate N Uniform Random Points in a Disc

runifpoint

Generate N Uniform Random Points

runifpoint3

Generate N Uniform Random Points in Three Dimensions

runifpointOnLines

Generate N Uniform Random Points On Line Segments

runifpointx

Generate N Uniform Random Points in Any Dimensions

rVarGamma

Simulate Neyman-Scott Point Process with Variance Gamma cluster kernel

spatstat.random-internal

Internal spatstat.random functions

spatstat.random-package

The spatstat.random Package

update.rmhcontrol

Update Control Parameters of Metropolis-Hastings Algorithm

will.expand

Test Expansion Rule

Window.rmhmodel

Extract Window of Spatial Object

Functionality for random generation of spatial data in the 'spatstat' family of packages. Generates random spatial patterns of points according to many simple rules (complete spatial randomness, Poisson, binomial, random grid, systematic, cell), randomised alteration of patterns (thinning, random shift, jittering), simulated realisations of random point processes including simple sequential inhibition, Matern inhibition models, Neyman-Scott cluster processes (using direct, Brix-Kendall, or hybrid algorithms), log-Gaussian Cox processes, product shot noise cluster processes and Gibbs point processes (using Metropolis-Hastings birth-death-shift algorithm, alternating Gibbs sampler, or coupling-from-the-past perfect simulation). Also generates random spatial patterns of line segments, random tessellations, and random images (random noise, random mosaics). Excludes random generation on a linear network, which is covered by the separate package 'spatstat.linnet'.

  • Maintainer: Adrian Baddeley
  • License: GPL (>= 2)
  • Last published: 2025-11-21