summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/r-rpmm/package.py
blob: 7953edf49424d0df1c33abb80f6ba498da1fbf4d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# 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 RRpmm(RPackage):
    """Recursively Partitioned Mixture Model.

    Recursively Partitioned Mixture Model for Beta and Gaussian Mixtures. This
    is a model-based clustering algorithm that returns a hierarchy of classes,
    similar to hierarchical clustering, but also similar to finite mixture
    models."""

    cran = "RPMM"

    version("1.25", sha256="f04a524b13918062616beda50c4e759ce2719ce14150a0e677d07132086c88c8")

    depends_on("r@2.3.12:", type=("build", "run"))
    depends_on("r-cluster", type=("build", "run"))