From: "Mădălin Ionel Patrașcu" <madalinionel.patrascu@mdc-berlin.de>
To: <61891@debbugs.gnu.org>
Subject: [bug#61891] [PATCH 2/7] gnu: Add r-cplm.
Date: Wed, 1 Mar 2023 08:23:38 +0100 [thread overview]
Message-ID: <20230301072343.708693-2-madalinionel.patrascu@mdc-berlin.de> (raw)
In-Reply-To: <20230301072343.708693-1-madalinionel.patrascu@mdc-berlin.de>
* gnu/packages/cran.scm (r-cplm): New variable.
---
gnu/packages/cran.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index fc8fe1a449..ddff93aa0d 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -325,6 +325,41 @@ (define-public r-collections
queues, stacks, deques, dicts and ordered dicts.")
(license license:expat)))
+(define-public r-cplm
+ (package
+ (name "r-cplm")
+ (version "0.7-10")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "cplm" version))
+ (sha256
+ (base32 "0mqjk10265hq9bc5ihmgbx1l8fzay1gpdlvx3pirqmvr3w1kwlxk"))))
+ (properties `((upstream-name . "cplm")))
+ (build-system r-build-system)
+ (propagated-inputs
+ (list r-biglm
+ r-coda
+ r-ggplot2
+ r-matrix
+ r-minqa
+ r-nlme
+ r-reshape2
+ r-statmod
+ r-tweedie))
+ (home-page "https://github.com/actuaryzhang/cplm")
+ (synopsis "Compound Poisson linear models")
+ (description "The Tweedie compound Poisson distribution is a mixture of a
+degenerate distribution at the origin and a continuous distribution on the positive
+real line. It has been applied in a wide range of fields in which continuous data
+with exact zeros regularly arise. The cplm package provides likelihood based and
+Bayesian procedures for fitting common Tweedie compound Poisson linear models.
+In particular, models with hierarchical structures or extra zero inflation can be
+handled. Further, the package implements the Gini index based on an ordered version
+of the Lorenz curve as a robust model comparison tool involving zero-inflated and
+highly skewed distributions.")
+ (license license:gpl2+)))
+
(define-public r-curry
(package
(name "r-curry")
--
2.39.1
next prev parent reply other threads:[~2023-03-01 7:25 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-01 7:20 [bug#61891] [PATCH] gnu: Add r-biglm, r-cplm, r-som, r-chemometrics, r-metagenomeseq, r-maaslin2, r-mmuphin Mădălin Ionel Patrașcu
2023-03-01 7:23 ` [bug#61891] [PATCH 1/7] gnu: Add r-biglm Mădălin Ionel Patrașcu
2023-03-01 7:23 ` Mădălin Ionel Patrașcu [this message]
2023-03-01 7:23 ` [bug#61891] Mădălin Ionel Patrașcu
2023-03-01 7:23 ` [bug#61891] Mădălin Ionel Patrașcu
2023-03-01 7:23 ` [bug#61891] Mădălin Ionel Patrașcu
2023-03-01 7:23 ` [bug#61891] Mădălin Ionel Patrașcu
2023-03-01 7:23 ` [bug#61891] Mădălin Ionel Patrașcu
2023-03-01 10:53 ` [bug#61891] Mădălin Ionel Patrașcu
2023-03-02 21:09 ` bug#61891: 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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230301072343.708693-2-madalinionel.patrascu@mdc-berlin.de \
--to=madalinionel.patrascu@mdc-berlin.de \
--cc=61891@debbugs.gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.