Add expand.bipartite= argument to `[.network()` and `[<-.network()` methods?
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 45/100
Research direction
Start by reading the as.matrix() behavior discussed in issue 94 and locate the [ and [<-.network() methods that access network entries. Determine how an expand.bipartite argument should make their results consistent with as.matrix(..., matrix.type = "adjacency"), then verify both read and assignment behavior with focused tests.
Written by the indexing model from the issue text.
Description
Per https://github.com/statnet/network/issues/94#issuecomment-3138370212 , the nw[i,j] != as.matrix(nw, matrix.type = "adjacency")[i,j]. You can make it true by passing expand.bipartite = TRUE to as.matrix(). Would it make sense to provide an expand.bipartite= argument to the [ methods to allow it to work in the opposite direction as well?
- Dominant language
- R
- Stars
- 20
- Forks
- 7
- 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/network
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 25/100
-
Difficulty 5/5 Over a week Newbie friendliness 35/100
-
Assigning a symmetric sociomatrix valued edges to an undriected network creates bidirectional edges. Openbug
Difficulty 3/5 1-2 days Newbie friendliness 45/100
-
Difficulty 3/5 1-2 days Newbie friendliness 38/100
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
robjhyndman/forecast#1220 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 65/100
JamesHWade/deputy#192 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
bug triage_needed
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
pharmaverse/rtables#1123 · 1 comment ·