gnu: Add r-flexmix.

* gnu/packages/statistics.scm (r-flexmix): New variable.

Signed-off-by: Ben Woodcroft <donttrustben@gmail.com>
This commit is contained in:
Raoul Jean Pierre Bonnal 2017-01-19 19:55:03 +01:00 committed by Ben Woodcroft
parent 1721fb4fe7
commit a1f2668e6c
No known key found for this signature in database
GPG Key ID: 2A6AD9F4AAC20DF6
1 changed files with 24 additions and 0 deletions

View File

@ -4209,3 +4209,27 @@ original public code has been corrected.")
models. The functionality is experimental and the user interface is likely models. The functionality is experimental and the user interface is likely
to change in the future.") to change in the future.")
(license license:gpl2))) (license license:gpl2)))
(define-public r-flexmix
(package
(name "r-flexmix")
(version "2.3-13")
(source
(origin
(method url-fetch)
(uri (cran-uri "flexmix" version))
(sha256
(base32
"1i205yw3kkxs27gqcs6zx0c2mh16p332a2p06wq6fdzb20bazg3z"))))
(build-system r-build-system)
(propagated-inputs
`(("r-modeltools" ,r-modeltools)))
(home-page "http://cran.r-project.org/web/packages/flexmix")
(synopsis "Flexible mixture modeling")
(description
"This package implements a general framework for finite mixtures of
regression models using the EM algorithm. FlexMix provides the E-step and
all data handling, while the M-step can be supplied by the user to easily
define new models. Existing drivers implement mixtures of standard linear
models, generalized linear models and model-based clustering.")
(license license:gpl2+)))