Package: mpaR 0.4.0

Paulo H Resende
mpaR: Main Path Analysis for Citation and Directed Networks
Implements Main Path Analysis (MPA) as introduced by Hummon and Doreian (1989) <doi:10.1016/0378-8733(89)90017-8>. Given a directed acyclic graph (DAG) representing a citation or precedence network, the package computes traversal weights (SPC, SPLC, SPNP) for each edge and extracts the global, local, and key-route main paths. Also provides tools for DAG validation, node role classification (source/terminal/user), per-component path extraction for disconnected networks, and scale-free network testing. Accepts igraph objects or edge-list data frames as input. Includes readers for Pajek (.net) and Gephi export (.gexf, .graphml) files.
Authors:
mpaR_0.4.0.tar.gz
mpaR_0.4.0.zip(r-4.7)mpaR_0.4.0.zip(r-4.6)mpaR_0.4.0.zip(r-4.5)
mpaR_0.4.0.tgz(r-4.6-any)mpaR_0.4.0.tgz(r-4.5-any)
mpaR_0.4.0.tar.gz(r-4.7-any)mpaR_0.4.0.tar.gz(r-4.6-any)
mpaR_0.4.0.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
mpaR/json (API)
NEWS
| # Install 'mpaR' in R: |
| install.packages('mpaR', repos = c('https://resendeph.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/resendeph/mpar/issues
Last updated from:8583c974f8. Checks:7 NOTE, 2 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | NOTE | 114 | ||
| source / vignettes | OK | 231 | ||
| linux-release-x86_64 | NOTE | 121 | ||
| macos-release-arm64 | NOTE | 85 | ||
| macos-oldrel-arm64 | NOTE | 68 | ||
| windows-devel | NOTE | 67 | ||
| windows-release | NOTE | 65 | ||
| windows-oldrel | NOTE | 69 | ||
| wasm-release | OK | 100 |
Exports:check_dagcheck_scale_freeclassify_nodescomponent_pathsedge_weightsmain_pathmpanode_weightsplot_mparead_gephi_exportread_pajektraversal_weights
Dependencies:clicpp11glueigraphlatticelifecyclemagrittrMatrixpkgconfigrlangvctrsxml2
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Check DAG structure | check_dag |
| Test whether a network has a scale-free degree distribution | check_scale_free |
| Classify vertices by their role in the citation network | classify_nodes |
| Extract main paths from every component of a disconnected network | component_paths |
| Tabulate edge-level traversal weights | edge_weights |
| Extract the main path(s) from a traversal-weighted DAG | main_path |
| Main Path Analysis | mpa |
| Tabulate node-level traversal weights | node_weights |
| Plot a network with the main path highlighted | plot_mpa |
| Read a Gephi export file (GEXF or GraphML) | read_gephi_export |
| Read a Pajek network file (.net) | read_pajek |
| Compute traversal weights for edges in a citation DAG | traversal_weights |