Mixing matrix for edge attribute
Nobody has claimed this yet.
Assessment
- Difficulty
- 5/5
- Estimated time
- Over a week
- Newbie friendliness
- 35/100
Research direction
Start by locating the implementation and tests for mixingmatrix() and reviewing how it currently counts ties. The issue proposes optional edge_attr and fun arguments while preserving the default tie-count behavior; done would include the requested valued-tie summaries and coverage for the default and custom aggregation cases.
Written by the indexing model from the issue text.
Description
In the context of data with "weights" and/or ERGMs for valued ties it would be nice to be able do use mixingmatrix() to get some summaries of the tie values instead of tie counts. For example:
- optional
edge_attrargument expecting the name of edge attribute to be summarised, defaults toNULL, i.e. count ties. - optional argument
funexpecting a function aggregating the tie values, defaults tosum
leading to expressions such as:
mixingmatrix(net, attrname = "vertex attribute", edge_attr = "weight")
mixingmatrix(net, attrname = "vertex attribute", edge_attr = "weight", fun = prod)
Thoughts? Opinions? @krivit @CarterButts ?
- Dominant language
- R
- Stars
- 20
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
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 3/5 1-2 days Newbie friendliness 45/100
-
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
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
datacarpentry/semester-biology#1266 ·
Maintainers usually reply within 1 day
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
REditorSupport/vscode-R#1785 · 1 comment ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 90/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
ImperialCollegeLondon/ve_data_science#666 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 92/100
Maintainers usually reply within 13 days