1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 2013-2022 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack.package import *
class RSpatstatRandom(RPackage):
"""Random Generation Functionality for the 'spatstat' Family.
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 (simple sequential inhibition, Matern inhibition models, Matern
cluster process, Neyman-Scott cluster processes, log-Gaussian Cox
processes, product shot noise cluster processes) and simulation of Gibbs
point processes (Metropolis-Hastings birth-death-shift algorithm,
alternating Gibbs sampler). 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'."""
cran = "spatstat.random"
version("3.0-1", sha256="938c845c063b8781bf894c0a67537e7b2a7c425a4beba4a95ec9d2c37b43e5b6")
version("2.2-0", sha256="45f0bbdb9dbd53b6c4151c3cdd098451cf787729717ccbb063cd1f33910e604d")
depends_on("r@3.5.0:", type=("build", "run"))
depends_on("r-spatstat-data@2.1-0:", type=("build", "run"))
depends_on("r-spatstat-data@2.2-0.003:", type=("build", "run"), when="@3.0-1:")
depends_on("r-spatstat-geom@2.4-0:", type=("build", "run"))
depends_on("r-spatstat-geom@2.4-0.023:", type=("build", "run"), when="@3.0-1:")
depends_on("r-spatstat-utils@2.2-0:", type=("build", "run"))
depends_on("r-spatstat-utils@2.3-1.003:", type=("build", "run"), when="@3.0-1:")
|