Skip to content

spatstat.random

3.5-1

Random Generation Functionality for the 'spatstat' Family

56packages depend
980.3Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Adrian BaddeleyFirst published 2022-01-0623 releasesCRAN page ↗GitHub ↗

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.7 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.09
not tracked
Coverage
100%
Documentation · exports
10
Dependencies · direct
Check history
  • OK2026-08-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-26
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-23
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-03-21
    9 OK · 4 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
  • NOTE2026-03-17
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMENoVignettesNopkgdown siteNoNEWSYes · 0% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
95%
Return-value docs
100%
References docs
33%

Downloads

980.3K
CRAN downloads in the past year
Rank #389 · ~2.7K/day · ~81.7K/mo
Daily download trend is not available in this view yet.
69K30 days
232.2K90 days
980.3K1 year
Compare downloads with other packages →
Also on16.5K r2u43 autocran134.7K conda_forge275 c2d4u

Repository

Repository
5Stars
2Forks
0Open issues
0Open PRs
14Releases
187Commits
2Contributors
point-processesrandom-generationsimulationspatial-samplingspatial-simulation
187 commits · Last activity 2026-08-24

Stars over time

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

Repository practices

Upstream repositoryBeta

Checks run against github.com/spatstat/spatstat.random on 2026-08-23.

No development-tooling practices detected in the upstream repository.

How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (8)
R >= 3.5.0spatstat.dataspatstat.univar (>= 3.2-0)spatstat.geomstatsutilsmethodsgrDevices
LinkingTo (0)
none
Enhances (0)
none

Code & Tests

People & History

People (11)
Maintainer (1)
Author, Maintainer, Copyright holder
Authors (4)
Author, Maintainer, Copyright holder
Author, Copyright holder
Author, Copyright holder
Author, Copyright holder
Contributors (7)
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
Copyright holders (9)
Author, Maintainer, 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, Copyright holder
Contributor, Copyright holder
Show 1 more copyright holders
Contributor, Copyright holder
Package Timeline

23 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 3.5-1Latest
    2026-07-27 · current release · diff ↗
  • 3.5-0
    2026-05-24 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 3.4-5
    2026-03-22 · diff ↗
  • 3.4-4
    2026-01-21 · diff ↗
  • 3.4-3
    2025-11-21 · diff ↗
  • 3.4-2
    2025-09-21 · diff ↗
  • 3.4-1
    2025-05-20 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 3.3-3
    2025-03-19 · diff ↗
  • 3.3-2
    2024-09-18 · diff ↗
  • 3.3-1
    2024-07-15 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 3.2-3
    2024-02-29 · diff ↗
  • 3.2-2
    2023-11-29 · diff ↗
  • 3.2-1
    2023-10-22 · diff ↗
Show 13 earlier events
  • 3.1-6
    2023-09-09 · diff ↗
  • 3.1-5
    2023-05-11 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 3.1-4
    2023-03-13 · diff ↗
  • 3.1-3
    2023-01-25 · diff ↗
  • 3.1-2
    2023-01-24 · diff ↗
  • 3.0-1
    2022-11-03 · diff ↗
  • 3.0-0
    2022-11-01 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 2.2-0
    2022-03-30 · diff ↗
  • 2.1-0
    2022-02-12 · diff ↗
  • 2.0-0
    2022-01-06
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-01-06
Total releases
23 / 4 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.5.0
Download size
284 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("spatstat.random")
Baddeley, A., Bryant, D., Chang, Y., Davies, T., Hahn, U., Jalilian, A., Klitgaard Berthelsen, K., Plenge Waagepetersen, R., Rubak, E., Schuhmacher, D., & Turner, R. (2026). spatstat.random: Random Generation Functionality for the 'spatstat' Family (Version 3.5-1) [Computer software]. https://doi.org/10.32614/CRAN.package.spatstat.random

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

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-1 [Data set]. HJJB, LLC. Data release v2026-08-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-24, 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