diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2019-01-09 17:07:19 +0100 |
---|---|---|
committer | Ricardo Wurmus <rekado@elephly.net> | 2019-01-09 17:13:52 +0100 |
commit | 17932a0f63f54bb6ad37d773dfd9fad4e8c7146b (patch) | |
tree | 7bc459ddbdf7d3f242f371125afaaa47fa98f364 | |
parent | 728012dae8bbba2fd006300bfd046aa6b99846ae (diff) | |
download | gnu-guix-17932a0f63f54bb6ad37d773dfd9fad4e8c7146b.tar gnu-guix-17932a0f63f54bb6ad37d773dfd9fad4e8c7146b.tar.gz |
gnu: Add r-epi.
* gnu/packages/cran.scm (r-epi): New variable.
-rw-r--r-- | gnu/packages/cran.scm | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm index 481dcc1457..8c0142d092 100644 --- a/gnu/packages/cran.scm +++ b/gnu/packages/cran.scm @@ -10250,3 +10250,40 @@ JASA, 94:496-509.") the matrix of transition probabilities for any time-inhomogeneous multistate model with finite state space using the Aalen-Johansen estimator.") (license license:expat))) + +(define-public r-epi + (package + (name "r-epi") + (version "2.32") + (source + (origin + (method url-fetch) + (uri (cran-uri "Epi" version)) + (sha256 + (base32 + "14n24xlm7pwdc54w2hlpjhfal1zpzm87rv3rjfckiz47d3w7dwqm")))) + (properties `((upstream-name . "Epi"))) + (build-system r-build-system) + (propagated-inputs + `(("r-cmprsk" ,r-cmprsk) + ("r-data-table" ,r-data-table) + ("r-etm" ,r-etm) + ("r-mass" ,r-mass) + ("r-matrix" ,r-matrix) + ("r-mgcv" ,r-mgcv) + ("r-numderiv" ,r-numderiv) + ("r-plyr" ,r-plyr) + ("r-survival" ,r-survival) + ("r-zoo" ,r-zoo))) + (home-page "http://BendixCarstensen.com/Epi/") + (synopsis "Statistical analysis in epidemiology") + (description + "This package provides functions for demographic and epidemiological +analysis in the Lexis diagram, i.e. register and cohort follow-up data, in +particular representation, manipulation and simulation of multistate data - +the Lexis suite of functions, which includes interfaces to the @code{mstate}, +@code{etm} and @code{cmprsk} packages. It also contains functions for +Age-Period-Cohort and Lee-Carter modeling and a function for interval censored +data and some useful functions for tabulation and plotting, as well as a +number of epidemiological data sets.") + (license license:gpl2))) |