CRAN/E | fastRG

fastRG

Sample Generalized Random Dot Product Graphs in Linear Time

Installation

About

Samples generalized random product graphs, a generalization of a broad class of network models. Given matrices X, S, and Y with with non-negative entries, samples a matrix with expectation X S Y^T and independent Poisson or Bernoulli entries using the fastRG algorithm of Rohe et al. (2017) . The algorithm first samples the number of edges and then puts them down one-by-one. As a result it is O(m) where m is the number of edges, a dramatic improvement over element-wise algorithms that which require O(n^2) operations to sample a random graph, where n is the number of nodes.

rohelab.github.io/fastRG/
github.com/RoheLab/fastRG
Bug report File report

Key Metrics

Version 0.3.2
Published 2023-08-21 252 days ago
Needs compilation? no
License MIT
License File
CRAN checks fastRG results

Downloads

Yesterday 6 -33%
Last 7 days 78 +1%
Last 30 days 250 +5%
Last 90 days 714 -27%
Last 365 days 3.074 +4%

Maintainer

Maintainer

Alex Hayes

alexpghayes@gmail.com

Authors

Alex Hayes

aut / cre / cph

Karl Rohe

aut / cph

Jun Tao

aut

Xintian Han

aut

Norbert Binkiewicz

aut

Material

README
NEWS
Reference manual
Package source

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

fastRG archive

Depends

Matrix

Imports

dplyr
ellipsis
ggplot2
glue
igraph
methods
RSpectra
stats
tibble
tidygraph
tidyr

Suggests

covr
knitr
magrittr
rmarkdown
testthat ≥ 3.0.0