Skip to content

spatstat.random

3.5-2Package record

Random Generation Functionality for the 'spatstat' Family

46packages dependsuggested by 10
974.3Kdownloads / year
–test coverage
13/13flavors OK

Overview

About

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

CRAN checks
13OK
Slowest check: 5.0 min · r-oldrel-windows-x86_64
Status changes
  • 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
Advisories

none known

Documentation

In release 3.5-2
README· In the repository, left out of the releaseVignettesNoNEWSYes · 0% structuredCitation fileYes · cites a publicationWebsiteYes
Cites a JSS article
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

974.3K
CRAN downloads in the past year
Rank #395 · ~2.7K/day · ~81.2K/mo
Daily download trend is not available in this view yet.
86.6K30 days
226.2K90 days
974.3K1 year
Compare downloads with other packages →
Also on30.3K r2u21 autocran165.8K conda_forge878 c2d4u

Repository

5Stars
2Forks
0Open issues
0Open PRs
14Releases
191Commits
2Commit identities
point-processesrandom-generationsimulationspatial-samplingspatial-simulation
191 commits · Last activity 2026-09-21 · 0% stars, 30d
Responsiveness
How these are sampled
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

2024-08-20 · 52026-07-07 · 5
PracticesBeta

Checks run against github.com/spatstat/spatstat.random on 2026-10-11.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)

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.

Depends (8)
R >= 3.5.0spatstat.dataspatstat.univar (>= 3.2-0)spatstat.geomstatsutilsmethodsgrDevices
LinkingTo (0)
none
Enhances (0)
none

People & History

People (11)
Author, Maintainer since 2.0-0 (2022), Copyright holder
Author, Copyright holder
Author, Copyright holder
Author, Copyright holder
Contributor, Copyright holder · added in 3.2-1
Contributor, Copyright holder · added in 3.1-2
Contributor
Contributor, Copyright holder
Contributor, Copyright holder
Contributor, Copyright holder
Releases (24)

Pick two releases to compare their code metrics.

  • 3.5-2Latest
    record
    2026-09-22 · current release · diff ↗
  • 3.5-1
    record
    2026-07-27 · diff ↗ ·
    added 1 export
    rpoisDirichletTess
  • 3.5-0
    record
    2026-05-24 · diff ↗ ·
    added 11 exports
    dpoisnonzero, dpoistrunc, ppoisnonzero, ppoistrunc, qpoisnonzero, qpoistrunc, rdiffuse, rdiffuse.ppp, resolveHeatTransitions, rUnround, rUnround.ppp
  • R
    R 4.6.0 released · 2026-04-24
  • 3.4-5
    record
    2026-03-22 · diff ↗ ·
    added 4 exports
    rpoint3, rSSIengine, rSSIengine.box3, rSSIengine.owin
  • 3.4-4
    record
    2026-01-21 · diff ↗ ·
    removed 3 exports
    getRandomFieldsModelGen, kraeverRandomFields, RandomFieldsSafe
  • 3.4-3
    record
    2025-11-21 · diff ↗
  • 3.4-2
    record
    2025-09-21 · diff ↗ ·
    added 2 exports
    is.poisson.NAobject, is.stationary.NAobject
  • 3.4-1
    record
    2025-05-20 · diff ↗ ·
    added 11 exports
    assignParents, clusterkernel.clusterprocess, clusterprocess, clusterradius.clusterprocess, CondSimCox, emptyNeyScot, intensity.clusterprocess, predict.clusterprocess, print.clusterprocess, reach.clusterprocess, simulate.clusterprocess
  • R
    R 4.5.0 released · 2025-04-11
  • 3.3-3
    record
    2025-03-19 · diff ↗
  • 3.3-2
    record
    2024-09-18 · diff ↗
  • 3.3-1
    record
    2024-07-15 · diff ↗ ·
    removed 1 export
    indefinteg
  • R
    R 4.4.0 released · 2024-04-24
  • 3.2-3
    record
    2024-02-29 · diff ↗
  • 3.2-2
    record
    2023-11-29 · diff ↗
Show 14 earlier eventsHide 14 earlier events
  • 3.2-1
    record
    2023-10-22 · diff ↗ ·
    added 6 exports
    rGRFcircembed, rGRFexpo, rGRFgauss, rGRFgencauchy, rGRFmatern, rGRFstable
  • 3.1-6
    record
    2023-09-09 · diff ↗
  • 3.1-5
    record
    2023-05-11 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 3.1-4
    record
    2023-03-13 · diff ↗ ·
    added 3 exports
    recipEnzpois, rpoisnonzero, rpoistrunc
  • 3.1-3
    record
    2023-01-25 · diff ↗
  • 3.1-2
    record
    2023-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-1
    record
    2022-11-03 · diff ↗
  • 3.0-0
    record
    2022-11-01 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.2-0
    record
    2022-03-30 · diff ↗ ·
    added 1 export
    detect.par.format
  • 2.1-0
    record
    2022-02-12 · diff ↗ ·
    added 2 exports
    indefinteg, retrieve.param
  • 2.0-0
    record
    2022-01-06
  • R
    R 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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for spatstat.random version 3.5-2 [Data set]. HJJB, LLC. Data release v2026-10-18. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy