1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-27 19:41:50 +02:00

gnu: r-tmvnsim: Move to (gnu packages cran).

* gnu/packages/statistics.scm (r-tmvnsim): Move from here...
* gnu/packages/cran.scm (r-tmvnsim): ...to here.

Change-Id: I57b54ad1ff2db25e3dcfa5711110fb79baa59e81
This commit is contained in:
Ricardo Wurmus
2026-02-16 18:53:45 +01:00
committed by Andreas Enge
parent 2283d0f242
commit c9942b9c85
2 changed files with 29 additions and 29 deletions
-29
View File
@@ -1681,35 +1681,6 @@ of the points.")
;; Any GPL version
(license (list license:gpl2+ license:gpl3+))))
(define-public r-tmvnsim
(package
(name "r-tmvnsim")
(version "1.0-2")
(source
(origin
(method url-fetch)
(uri (cran-uri "tmvnsim" version))
(sha256
(base32
"03xsvsg9bqvgl98ywid3h91mmlhax5s6wvmypp3hq91vmc5kvxlp"))))
(properties `((upstream-name . "tmvnsim")))
(build-system r-build-system)
(native-inputs (list gfortran))
(home-page "https://www.r-project.org")
(synopsis "Truncated multivariate normal simulation")
(description
"This package implements importance sampling from the truncated
multivariate normal using the @dfn{Geweke-Hajivassiliou-Keane} (GHK)
simulator. Unlike Gibbs sampling which can get stuck in one truncation
sub-region depending on initial values, this package allows truncation based
on disjoint regions that are created by truncation of absolute values. The
GHK algorithm uses simple Cholesky transformation followed by recursive
simulation of univariate truncated normals hence there are also no convergence
issues. Importance sample is returned along with sampling weights, based on
which, one can calculate integrals over truncated regions for multivariate
normals.")
(license license:gpl2)))
(define-public r-tsne
(package
(name "r-tsne")