Random Generation Functionality for the 'spatstat' Family
Overview
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'.
Install
Health
- OK13 OK2026-08-04
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-26
- NOTE11 OK, 3 NOTE2026-03-23
- WARNING9 OK, 4 NOTE, 1 WARNING2026-03-21
Show 2 earlier changesHide 2 earlier changes
- NOTE13 OK, 1 NOTE2026-03-17
- OK14 OK2026-03-10
Documentation
- Help pages
- 88 (1 internal)includes a package overview page
- Examples that run
- 99%83 run in a plain check (3 of them under a condition) · 1 hold no code
- Exported functions with examples
- 97%
- Documented parameters
- 95%
- Return-value docs
- 100%
- Help pages citing references
- 33%
Downloads
Repository
- PRs merged (all time)
- not measured
- Median days to close, 50 most recently updated closed issues
- 2
- Median days to close, 50 most recently updated closed PRs
- not measured
Stars over time
Forks over time
Releases over time
Issues over time
Commits over time
Checks run against github.com/spatstat/spatstat.random on 2026-10-11.
No development-tooling practices detected in the upstream repository.
Dependencies
Installing spatstat.random adds 9 packages (6 with compiled code, 4.1 MB of source tarballs). Heaviest: spatstat.data 2.9 MB, spatstat.geom 816 KB, spatstat.utils 108 KB.
Show the 48 most downloaded packagesHide the 48 most downloaded packages
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 3.5-2Latest
- 3.5-1
- 3.5-02026-05-24 · diff ↗ ·
added 11 exports
dpoisnonzero, dpoistrunc, ppoisnonzero, ppoistrunc, qpoisnonzero, qpoistrunc, rdiffuse, rdiffuse.ppp, resolveHeatTransitions, rUnround, rUnround.ppp - RR 4.6.0 released · 2026-04-24
- 3.4-5
- 3.4-42026-01-21 · diff ↗ ·
removed 3 exports
getRandomFieldsModelGen, kraeverRandomFields, RandomFieldsSafe - 3.4-32025-11-21 · diff ↗
- 3.4-2
- 3.4-12025-05-20 · diff ↗ ·
added 11 exports
assignParents, clusterkernel.clusterprocess, clusterprocess, clusterradius.clusterprocess, CondSimCox, emptyNeyScot, intensity.clusterprocess, predict.clusterprocess, print.clusterprocess, reach.clusterprocess, simulate.clusterprocess - RR 4.5.0 released · 2025-04-11
- 3.3-32025-03-19 · diff ↗
- 3.3-22024-09-18 · diff ↗
- 3.3-1
- RR 4.4.0 released · 2024-04-24
- 3.2-32024-02-29 · diff ↗
- 3.2-22023-11-29 · diff ↗
Show 14 earlier eventsHide 14 earlier events
- 3.2-12023-10-22 · diff ↗ ·
added 6 exports
rGRFcircembed, rGRFexpo, rGRFgauss, rGRFgencauchy, rGRFmatern, rGRFstable - 3.1-62023-09-09 · diff ↗
- 3.1-52023-05-11 · diff ↗
- RR 4.3.0 released · 2023-04-21
- 3.1-4
- 3.1-32023-01-25 · diff ↗
- 3.1-22023-01-24 · diff ↗ ·
added 15 exports
dpakes, optimalinflation, ppakes, qpakes, rCauchyHom, rclusterBKBC, rMatClustHom, rpakes, rPoissonClusterEngine, rthinEngine, rThomasHom, spatstatClusterSimInfo, spatstatClusterSimModelMatch, thinParents, validate.kappa.mu - 3.0-12022-11-03 · diff ↗
- 3.0-02022-11-01 · diff ↗
- RR 4.2.0 released · 2022-04-22
- 2.2-0
- 2.1-0
- 2.0-02022-01-06
- RR 4.1.0 released · 2021-05-18
Package metadata
- First published
- 2022-01-06
- Total releases
- 24 / 4 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Download size
- 284 KB
Cite
Cite this package
Run in R for the authors' entry:
citation("spatstat.random")The package provides a citation file, so citation() returns the authors' own entry.
It points to 10.18637/jss.v055.i11, 10.18637/jss.v012.i06.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-18, which the citation names so these numbers can be found later. More on citing and the projects behind them.