fastRG
Sample Generalized Random Dot Product Graphs in Linear Time
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 XSY^T and independent Poisson or Bernoulli entries using the fastRG algorithm of Rohe et al. (2017) https://www.jmlr.org/papers/v19/17-128.html. 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.
- Version0.3.2
- R versionunknown
- LicenseMIT
- LicenseLICENSE
- Needs compilation?No
- Last release08/21/2023
Documentation
Team
Alex Hayes
MaintainerShow author detailsKarl Rohe
Show author detailsRolesAuthor, Copyright holderJun Tao
Show author detailsRolesAuthorXintian Han
Show author detailsRolesAuthorNorbert Binkiewicz
Show author detailsRolesAuthor
Insights
Last 30 days
Last 365 days
The following line graph shows the downloads per day. You can hover over the graph to see the exact number of downloads per day.
Data provided by CRAN
Binaries
Dependencies
- Depends1 package
- Imports9 packages
- Suggests5 packages
- Reverse Suggests1 package