gnu: Add r-abcp2.

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

Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
pimi 2018-08-29 09:24:34 +02:00 committed by Ludovic Courtès
parent 12498b59e7
commit 40c10917bc
No known key found for this signature in database
GPG Key ID: 090B11993D9AEBB5
1 changed files with 21 additions and 0 deletions

View File

@ -5411,3 +5411,24 @@ maximum cycle number. The @code{r-abcoptim} implements the Artificial bee
colony optimization algorithm @url{http://mf.erciyes.edu.tr/abc/pub/tr06_2005.pdf}.
This version is a work-in-progress and is written in R code.")
(license license:expat)))
(define-public r-abcp2
(package
(name "r-abcp2")
(version "1.2")
(source
(origin
(method url-fetch)
(uri (cran-uri "ABCp2" version))
(sha256
(base32 "1s2skkxpzss7c29i8600psgrp0hl46jcrxqrmy2b4db8hc0kcnbx"))))
(properties `((upstream-name . "ABCp2")))
(build-system r-build-system)
(propagated-inputs `(("r-mass" ,r-mass)))
(home-page "https://cran.r-project.org/web/packages/ABCp2/")
(synopsis "Approximate Bayesian Computational Model for Estimating P2")
(description
"This package tests the goodness of fit of a distribution of offspring to the Normal,
Poisson, and Gamma distribution and estimates the proportional paternity of the
second male (P2) based on the best fit distribution.")
(license license:gpl2)))