me
/
guix
Archived
1
0
Fork 0

gnu: Add r-truncdist.

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

Change-Id: Icb9f06a36e5ee5a58828dc2f496b71a850a911b9
Mădălin Ionel Patrașcu 2023-11-03 17:30:01 +01:00 committed by Ricardo Wurmus
parent 3f991b817d
commit ab64815f6a
No known key found for this signature in database
GPG Key ID: 197A5888235FACAC
1 changed files with 24 additions and 0 deletions

View File

@ -8975,6 +8975,30 @@ distribution with mean equal to @code{mean} and standard deviation equal to
functions, as well as a random generation function.")
(license license:gpl2)))
(define-public r-truncdist
(package
(name "r-truncdist")
(version "1.0-2")
(source
(origin
(method url-fetch)
(uri (cran-uri "truncdist" version))
(sha256
(base32 "02ihw4ixhadwr3sqm6r264i8vpcaz8pn69vkzabd8fwqvn5vcj5q"))))
(properties `((upstream-name . "truncdist")))
(build-system r-build-system)
(propagated-inputs (list r-evd))
(home-page "https://cran.r-project.org/package=truncdist")
(synopsis "Truncated random variables")
(description
"This package provides a collection of tools to evaluate probability density
functions, cumulative distribution functions, quantile functions and random
numbers for truncated random variables. These functions are provided to also
compute the expected value and variance. @acronym{Q-Q, quantilequantile} plots
can be produced. All the probability functions in the stats, stats4 and evd
packages are automatically available for truncation.")
(license license:gpl2+)))
(define-public r-rsolnp
(package
(name "r-rsolnp")