networkDynamic for panel of larger networks
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Tech stack
- r
- Domain
- performance
Research direction
Start in R/utilities.R at the networkDynamic() loop referenced around line 628, then investigate whether tergm or sparse sociomatrix operations provide an existing approach for panel networks. Done means converting moderate-to-large panel networks substantially faster while preserving the resulting dynamicNetwork object; benchmark the reported two-network example.
Written by the indexing model from the issue text.
Description
In the current form, the function networkDynamic() is prohibitively slow for converting a list of panel networks of moderate to large size to a dynamicNetwork object (for example, a list of 2 networks with ~8000 nodes and 16k edges is taking on the order of hours). As far as I can tell, this issue stems from the implementation of a for-loop through all edges of the network here: https://github.com/statnet/networkDynamic/blob/66e66b91418ae6bf55b065d20f92115416cc448e/R/utilities.R#L628.
Based on the comments in the code, I am wondering if tergm or anything else already has a different way of taking on this task that is more efficient. I'm having trouble figuring out where exactly tergm does this, but I think it must do something similar when simulating. Perhaps an operation performed on a stack of sparse sociomatrices would be applicable here?
- Dominant language
- R
- Stars
- 12
- Forks
- 1
- PR merge metrics
- No merged PRs in 30d
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from statnet/networkDynamic
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
statnet/networkDynamic#26 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 42/100
statnet/networkDynamic#15 ·
-
Difficulty 3/5 1-2 days Newbie friendliness 35/100
statnet/networkDynamic#14 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 45/100
statnet/networkDynamic#11 · 6 comments · 1 reaction ·
All issues in statnet/networkDynamic
Similar issues
-
documentation pkg infrastructure
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
epiverse-trace/epiparameter#511 ·
-
bug
Difficulty 1/5 Under an hour Newbie friendliness 92/100
pharmaverse/aNCA#1496 ·
-
function:write_dwc
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
-
Urgent request: Due to vulnerabilities move to API version 12.6.1 (12.6.2 eventually) or 13.1.1 Open
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
jbkunst/highcharter#849 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 82/100
r-lib/pkgdepends#485 · 3 comments ·