summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-biasedurn/package.py
blob: 388c7df064a9eff02bcb737e220969a2ae6973a6 (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
# Copyright 2013-2023 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 RBiasedurn(RPackage):
    """Biased Urn Model Distributions.

    Statistical models of biased sampling in the form of univariate and
    multivariate noncentral hypergeometric distributions, including Wallenius'
    noncentral hypergeometric distribution and Fisher's noncentral
    hypergeometric distribution (also called extended hypergeometric
    distribution). See vignette("UrnTheory") for explanation of these
    distributions."""

    cran = "BiasedUrn"

    version("2.0.9", sha256="bac62bbbc3e2417772f8784996a6c2d0857adb42e86e46b1a9703b187a406b09")
    version("2.0.8", sha256="205e7f8da8fba76fbf4bd9d12a027599b685dedecc818aad39de5c51dc47b856")
    version("1.07", sha256="2377c2e59d68e758a566452d7e07e88663ae61a182b9ee455d8b4269dda3228e")