gnu: Add r-influencer.

* gnu/packages/cran.scm (r-influencer): New variable.
This commit is contained in:
Ricardo Wurmus 2019-12-18 15:24:05 +01:00
parent ff1146b9b1
commit 3eacc8fa8f
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -18938,3 +18938,31 @@ (define-public r-rsvg
addition, the package can convert images directly to various formats such as
PDF or PostScript.")
(license license:expat)))
(define-public r-influencer
(package
(name "r-influencer")
(version "0.1.0")
(source
(origin
(method url-fetch)
(uri (cran-uri "influenceR" version))
(sha256
(base32
"12p9362hkndlnz1rd8j2rykg57kbm6l7ks60by3rd25xg50k5jag"))))
(properties `((upstream-name . "influenceR")))
(build-system r-build-system)
(propagated-inputs
`(("r-igraph" ,r-igraph)
("r-matrix" ,r-matrix)))
(home-page "https://github.com/rcc-uchicago/influenceR")
(synopsis "Tools to quantify structural importance of nodes in a network")
(description
"This package provides functionality to compute various node centrality
measures on networks. Included are functions to compute betweenness
centrality (by utilizing Madduri and Bader's SNAP library), implementations of
Burt's constraint and @dfn{effective network size} (ENS) metrics, Borgatti's
algorithm to identify key players, and Valente's bridging metric. The
betweenness, Key Players, and bridging implementations are parallelized with
OpenMP.")
(license license:gpl2)))