Package: graphonmix 0.0.1.0


Sevvandi Kandanaarachchi
graphonmix: Generates Mixture Graphs from Dense and Sparse Graphons
Generates (U,W) mixture graphs where U is a line graph graphon and W is a dense graphon. Graphons are graph limits and graphon U can be written as sequence of positive numbers adding to 1. Graphs are sampled from U and W and joined randomly to obtain the mixture graph. Given a mixture graph, U can be inferred. Kandanaarachchi and Ong (2025) <doi:10.48550/arXiv.2505.13864>.
Authors:
graphonmix_0.0.1.0.tar.gz
graphonmix_0.0.1.0.zip(r-4.7)graphonmix_0.0.1.0.zip(r-4.6)graphonmix_0.0.1.0.zip(r-4.5)
graphonmix_0.0.1.0.tgz(r-4.6-any)graphonmix_0.0.1.0.tgz(r-4.5-any)
graphonmix_0.0.1.0.tar.gz(r-4.7-any)graphonmix_0.0.1.0.tar.gz(r-4.6-any)
graphonmix_0.0.1.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
graphonmix/json (API)
| # Install 'graphonmix' in R: |
| install.packages('graphonmix', repos = c('https://sevvandi.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/sevvandi/graphonmix/issues
Pkgdown/docs site:https://sevvandi.github.io
Last updated from:726a2b1415. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 140 | ||
| source / vignettes | OK | 213 | ||
| linux-release-x86_64 | OK | 143 | ||
| macos-release-arm64 | OK | 97 | ||
| macos-oldrel-arm64 | OK | 131 | ||
| windows-devel | OK | 99 | ||
| windows-release | OK | 113 | ||
| windows-oldrel | OK | 96 | ||
| wasm-release | OK | 122 |
Exports:autoplotcreate_exp_matrixempirical_graphonextract_sparsegenerate_star_uniongraph_joinline_graphonplot_graphonpredict_hubssample_graphonsample_mixed_graphscale_graphonseparate_dense_and_sparse
Dependencies:bmpclicpp11digestdownloaderfarverggplot2gluegtableigraphimagerisobandjpeglabelinglatticelifecyclemagrittrMatrixpkgconfigpngpurrrR6RColorBrewerRcppreadbitmaprlangS7scalesstringistringrtiffvctrsviridisLitewithr
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Plots the output of extract_sparse function. | autoplot.extract_sparse |
| Creates an nxn exponential matrix | create_exp_matrix |
| Computes empirical graphon from graph | empirical_graphon |
| Extracts the sparse part from a (U,W) graphon mixture | extract_sparse |
| Generates a sparse graph of star graphs | generate_star_union |
| Joins two graphs | graph_join |
| Creates a line graphon from a sequence of probabilities | line_graphon |
| Plots graphon | plot_graphon |
| Predicts the degree of hubs of an new graph | predict_hubs |
| Generates a graph given a graphon | sample_graphon |
| Generate a (U,W) mixture graph | sample_mixed_graph |
| Scales a graphon to an nxn matrix | scale_graphon |
| Separates the dense and sparse part from a (U,W) graphon mixture | separate_dense_and_sparse |