gnu: Add r-betareg.

* gnu/packages/cran.scm (r-betareg): New variable.

Change-Id: I67839c22e6374dcd9e9f0c12d08770d8103ead6d
This commit is contained in:
Ricardo Wurmus 2024-11-26 15:40:03 +01:00 committed by Andreas Enge
parent 92a45f6e77
commit 8067c491d4
No known key found for this signature in database
GPG key ID: F7D5C9BF765C61E3

View file

@ -241,6 +241,36 @@ (define-public r-asioheaders
M. Kohlhoff, and released under the Boost Software License', Version 1.0.")
(license license:boost1.0)))
(define-public r-betareg
(package
(name "r-betareg")
(version "3.2-1")
(source
(origin
(method url-fetch)
(uri (cran-uri "betareg" version))
(sha256
(base32 "1izp7nirsziwx8803ckbgwyj4r1vf4ixgx5nlin7d5pkjy13c9mv"))))
(properties `((upstream-name . "betareg")))
(build-system r-build-system)
;; Vignettes need r-quarto.
(arguments (list #:test-types '(list "tests")))
(propagated-inputs (list r-flexmix r-formula r-lmtest r-modeltools
r-sandwich))
(native-inputs (list r-partykit))
(home-page "https://topmodels.R-Forge.R-project.org/betareg/")
(synopsis "Beta regression")
(description
"This package implements beta regression for modeling beta-distributed
dependent variables on the open unit interval (0, 1), e.g., rates and
proportions, see Cribari-Neto and Zeileis (2010) <doi:10.18637/jss.v034.i02>.
Moreover, extended-support beta regression models can accommodate dependent
variables with boundary observations at 0 and/or 1. For the classical beta
regression model, alternative specifications are provided: Bias-corrected and
bias-reduced estimation, finite mixture models, and recursive partitioning for
beta regression, see <doi:10.18637/jss.v048.i11>.")
(license (list license:gpl2 license:gpl3))))
(define-public r-bma
(package
(name "r-bma")