mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-26 22:38:07 -05:00
gnu: Add r-fitdistrplus.
* gnu/packages/cran.scm (r-fitdistrplus): New variable.
This commit is contained in:
parent
521e0703d8
commit
6b4a9aec23
1 changed files with 28 additions and 0 deletions
|
@ -819,3 +819,31 @@ (define-public r-limsolve
|
||||||
functions from LINPACK.")
|
functions from LINPACK.")
|
||||||
;; Any GPL version.
|
;; Any GPL version.
|
||||||
(license (list license:gpl2+ license:gpl3+))))
|
(license (list license:gpl2+ license:gpl3+))))
|
||||||
|
|
||||||
|
(define-public r-fitdistrplus
|
||||||
|
(package
|
||||||
|
(name "r-fitdistrplus")
|
||||||
|
(version "1.0-9")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (cran-uri "fitdistrplus" version))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"18x9454g598d54763k3hvi33iszifk7sxvhd1zg5r8z1vpixx3z6"))))
|
||||||
|
(build-system r-build-system)
|
||||||
|
(propagated-inputs
|
||||||
|
`(("r-mass" ,r-mass)
|
||||||
|
("r-survival" ,r-survival)))
|
||||||
|
(home-page "http://riskassessment.r-forge.r-project.org")
|
||||||
|
(synopsis "Fitting a parametric distribution from data")
|
||||||
|
(description
|
||||||
|
"This package extends the @code{fitdistr} function of the MASS package
|
||||||
|
with several functions to help the fit of a parametric distribution to
|
||||||
|
non-censored or censored data. Censored data may contain left-censored,
|
||||||
|
right-censored and interval-censored values, with several lower and upper
|
||||||
|
bounds. In addition to @dfn{maximum likelihood estimation} (MLE), the package
|
||||||
|
provides moment matching (MME), quantile matching (QME) and maximum
|
||||||
|
goodness-of-fit estimation (MGE) methods (available only for non-censored
|
||||||
|
data). Weighted versions of MLE, MME and QME are available.")
|
||||||
|
(license license:gpl2+)))
|
||||||
|
|
Loading…
Reference in a new issue