1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other
# Spack Project Developers. See the top-level COPYRIGHT file for details.
#
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
from spack import *
class RInfluencer(RPackage):
"""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 effective network size (ENS) metrics, Borgatti's algorithm
to identify key players, and Valente's bridging metric. On Unix systems,
the betweenness, Key Players, and bridging implementations are parallelized
with OpenMP, which may run faster on systems which have OpenMP
configured."""
homepage = "https://github.com/rcc-uchicago/influenceR"
url = "https://cloud.r-project.org/src/contrib/influenceR_0.1.0.tar.gz"
list_url = "https://cloud.r-project.org/src/contrib/Archive/influenceR"
version('0.1.0', sha256='4fc9324179bd8896875fc0e879a8a96b9ef2a6cf42a296c3b7b4d9098519e98a')
depends_on('r@3.2.0:', type=('build', 'run'))
depends_on('r-igraph@1.0.1:', type=('build', 'run'))
depends_on('r-matrix@1.1-4:', type=('build', 'run'))
|