The weight attribute is ignored by default by centrality functions #135
agila5
started this conversation in
Show and tell
Replies: 1 comment
-
|
This is indeed quite confusing.. For now I included this line in the routing vignette after the section where we talk about edge weights: sfnetworks/vignettes/routing.Rmd Line 66 in 6fcd848 Not sure if there are other parts of the docs where we should mention this, or we should even rethink our approach |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone! Maybe this is quite obvious for you, but I just found out that the centrality functions defined in
tidygraphdo not automatically infer theweightargument defined in the edges table.Created on 2021-03-10 by the reprex package (v1.0.0)
I know that this is more or less the same discussion as in #67 (comment) (and probably the default behaviour in tidygraph), but if you also easily forget about this behaviour, maybe we could add a note in one of the vignettes (otherwise this is just a discussion that will help me remember this fact 😅).
Beta Was this translation helpful? Give feedback.
All reactions