summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-spatstat-explore/package.py
blob: 373c33f4255dfef1d6cc0341b29a7e83a031b3df (plain) (blame)
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
38
39
40
41
42
43
# Copyright 2013-2024 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 RSpatstatExplore(RPackage):
    """Exploratory Data Analysis for the 'spatstat' Family.

    Functionality for exploratory data analysis and nonparametric analysis of
    spatial data, mainly spatial point patterns, in the 'spatstat' family of
    packages. (Excludes analysis of spatial data on a linear network, which is
    covered by the separate package 'spatstat.linnet'.) Methods include quadrat
    counts, K-functions and their simulation envelopes, nearest neighbour
    distance and empty space statistics, Fry plots, pair correlation function,
    kernel smoothed intensity, relative risk estimation with cross-validated
    bandwidth selection, mark correlation functions, segregation indices, mark
    dependence diagnostics, and kernel estimates of covariate effects. Formal
    hypothesis tests of random pattern (chi-squared, Kolmogorov-Smirnov, Monte
    Carlo, Diggle-Cressie-Loosmore-Ford, Dao-Genton, two-stage Monte Carlo) and
    tests for covariate effects (Cox-Berman-Waller-Lawson, Kolmogorov-Smirnov,
    ANOVA) are also supported."""

    cran = "spatstat.explore"

    version("3.1-0", sha256="87ef4882652db3b834214bfc776dd7d23d931a9227de12f19722aeb1029d086e")
    version("3.0-3", sha256="137444a46d26d88241336feece63ed7b006a9328cfe3861d4b8ab7b4bed963a7")

    depends_on("r@3.5.0:", type=("build", "run"))
    depends_on("r-spatstat-data@3.0:", type=("build", "run"))
    depends_on("r-spatstat-geom@3.0:", type=("build", "run"))
    depends_on("r-spatstat-geom@3.0-5:", type=("build", "run"), when="@3.1-0:")
    depends_on("r-spatstat-random@3.0:", type=("build", "run"))
    depends_on("r-spatstat-random@3.1:", type=("build", "run"), when="@3.1-0:")
    depends_on("r-nlme", type=("build", "run"))
    depends_on("r-spatstat-utils@3.0:", type=("build", "run"))
    depends_on("r-spatstat-utils@3.0-2:", type=("build", "run"), when="@3.1-0:")
    depends_on("r-spatstat-sparse@3.0:", type=("build", "run"))
    depends_on("r-goftest@1.2-2:", type=("build", "run"))
    depends_on("r-matrix", type=("build", "run"))
    depends_on("r-abind", type=("build", "run"))