Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.3.3 #293

Merged
merged 17 commits into from
Mar 7, 2024
Merged

v1.3.3 #293

merged 17 commits into from
Mar 7, 2024

Conversation

jhollway
Copy link
Collaborator

@jhollway jhollway commented Mar 6, 2024

Description

2024-01-25

Measures

  • Added node_brokering_activity() and node_brokering_exclusivity() from Hamilton et al (2020)
  • node_degree() now returns strength centrality (alpha = 1) for weighted networks by default
  • node_redundancy() now works for weighted onemode and twomode networks (closed Add constraint in two-mode weighted networks #292)
    • Matrix operations bring an approximately sixfold speed increase compared to vapply
  • node_effsize() now works for weighted onemode and twomode networks
    • Matrix operations bring an approximately sixfold speed increase compared to vapply
  • network_equivalency() now normalises weighted twomode networks (closed Add equivalence in two-mode weighted networks #291)

Members

  • Added node_brokering() for identifying brokering roles from brokering activity and exclusivity
  • node_roulette() now optimises group diversity based on historical interactions (Lai and Hao 2016)

Checklist:

  • Documentation
    • Any longer functions are commented inline so that it is easier to debug in the future
    • Any new or modified functions or data have roxygen style documentation in their .R scripts
    • DESCRIPTION file version is bumped by the appropriate increment (major, minor, patch)
  • PR form
    • Title indicates expected version number
    • PR description above and the NEWS.md file are aligned
    • Any closed, fixed, or related issues are referenced and described, e.g. "Fixed #0 by adding A"
  • PR checks all pass for latest commit
    • Package builds on my OS without issues
    • CodeFactor check: Package improves or maintains good style
    • Package builds on Mac
    • Package builds on Windows
    • Package builds on Linux
    • CodeCov check: Package improves or maintains good test coverage

RWKrause and others added 16 commits February 12, 2024 10:41
corrected typo in ?help part for node_indegree direction 'out' to direction 'in'
…tent about removing non twopaths and twopaths embedded in triads
…rices, which calculates the objective function in about a third the time of vapply
…mise the objective function locally, using a group assignment swap or, in the case of heterogeneous group sizes, reassigning from a larger group to a smaller sized group
…weakPerturb several times in a row without evaluating the objective function, to explore more of the state space and avoid getting stuck on only a local minima
… works correctly with weighted and twomode networks
…r, works correctly with weighted and twomode networks
@jhollway jhollway self-assigned this Mar 6, 2024
Copy link

codecov bot commented Mar 6, 2024

Codecov Report

Attention: Patch coverage is 63.93443% with 44 lines in your changes are missing coverage. Please review.

Project coverage is 50.76%. Comparing base (46ed95e) to head (a484ecd).
Report is 15 commits behind head on main.

Files Patch % Lines
R/member_cliques.R 0.00% 41 Missing ⚠️
R/measure_closure.R 0.00% 1 Missing ⚠️
R/measure_holes.R 96.77% 1 Missing ⚠️
R/motif_census.R 97.95% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #293      +/-   ##
==========================================
+ Coverage   50.14%   50.76%   +0.62%     
==========================================
  Files          24       25       +1     
  Lines        2050     2147      +97     
==========================================
+ Hits         1028     1090      +62     
- Misses       1022     1057      +35     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

henriquesposito
henriquesposito previously approved these changes Mar 7, 2024
@jhollway jhollway merged commit d58d036 into main Mar 7, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants