unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: "Mădălin Ionel Patrașcu" <madalinionel.patrascu@mdc-berlin.de>
To: <59840@debbugs.gnu.org>
Cc: rekado@elephly.net
Subject: [bug#59840] [PATCH 1/3] gnu: Add r-clustercrit.
Date: Mon, 5 Dec 2022 18:27:24 +0100	[thread overview]
Message-ID: <20221205172726.24426-1-madalinionel.patrascu@mdc-berlin.de> (raw)
In-Reply-To: <47083f7d4810490c98e4e43cf814cbbd@mdc-berlin.de>

* gnu/packages/cran.scm (r-clustercrit): New variable.
---
 gnu/packages/cran.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 5c5258d6e0..6c2b8c834b 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -14094,6 +14094,30 @@ (define-public r-npsurv
 exact and interval-censored observations.")
     (license license:gpl2+)))
 
+(define-public r-clustercrit
+  (package
+    (name "r-clustercrit")
+    (version "1.2.8")
+    (source (origin
+              (method url-fetch)
+              (uri (cran-uri "clusterCrit" version))
+              (sha256
+               (base32
+                "10pz1bikdbkm2ky3xnagp0qv60whalavp6j39b4p7d75jj5xcxgk"))))
+    (properties `((upstream-name . "clusterCrit")))
+    (build-system r-build-system)
+    (native-inputs (list gfortran))
+    (home-page "https://www.r-project.org/")
+    (synopsis "Computing clustering validation indices")
+    (description
+     "The @code{clusterCrit} package provides an implementation of the following
+indices: Czekanowski-Dice, Folkes-Mallows, Hubert Γ, Jaccard, McNemar, Kulczynski,
+Phi, Rand, Rogers-Tanimoto, Russel-Rao or Sokal-Sneath.  ClusterCrit defines
+several functions which compute internal quality indices or external comparison
+indices.  The partitions are specified as an integer vector giving the index of
+the cluster each observation belongs to.")
+    (license license:gpl2+)))
+
 (define-public r-clusteval
   (package
     (name "r-clusteval")

base-commit: b2a848d23d37f31496e1ff664f1dcf6abcdcc388
-- 
2.38.1





  reply	other threads:[~2022-12-05 17:28 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-12-05 17:25 [bug#59840] [PATCH] gnu: Add r-clustercrit, .r-waffle and r-amplican MadalinIonel.Patrascu
2022-12-05 17:27 ` Mădălin Ionel Patrașcu [this message]
2022-12-05 17:27   ` [bug#59840] [PATCH 2/3] gnu: Add r-waffle Mădălin Ionel Patrașcu
2022-12-05 17:27   ` [bug#59840] [PATCH 3/3] gnu: Add r-amplican Mădălin Ionel Patrașcu
2022-12-12 14:52   ` bug#59840: [PATCH 1/3] gnu: Add r-clustercrit Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20221205172726.24426-1-madalinionel.patrascu@mdc-berlin.de \
    --to=madalinionel.patrascu@mdc-berlin.de \
    --cc=59840@debbugs.gnu.org \
    --cc=rekado@elephly.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).