{"action":"closed","issue":{"url":"https://api.github.com/repos/networkx/networkx/issues/628","labels_url":"https://api.github.com/repos/networkx/networkx/issues/628/labels{/name}","comments_url":"https://api.github.com/repos/networkx/networkx/issues/628/comments","events_url":"https://api.github.com/repos/networkx/networkx/issues/628/events","html_url":"https://github.com/networkx/networkx/issues/628","id":5749254,"number":628,"title":"Pearson r calculation for all possible pairs (in in, out out, out in, in out) (migrated from Trac #640)","user":{"login":"networkx-trac","id":2014468,"avatar_url":"https://avatars.githubusercontent.com/u/2014468?v=3","gravatar_id":"","url":"https://api.github.com/users/networkx-trac","html_url":"https://github.com/networkx-trac","followers_url":"https://api.github.com/users/networkx-trac/followers","following_url":"https://api.github.com/users/networkx-trac/following{/other_user}","gists_url":"https://api.github.com/users/networkx-trac/gists{/gist_id}","starred_url":"https://api.github.com/users/networkx-trac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/networkx-trac/subscriptions","organizations_url":"https://api.github.com/users/networkx-trac/orgs","repos_url":"https://api.github.com/users/networkx-trac/repos","events_url":"https://api.github.com/users/networkx-trac/events{/privacy}","received_events_url":"https://api.github.com/users/networkx-trac/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/networkx/networkx/labels/New+feature","name":"New feature","color":"006b75"}],"state":"closed","locked":false,"assignee":{"login":"hagberg","id":187875,"avatar_url":"https://avatars.githubusercontent.com/u/187875?v=3","gravatar_id":"","url":"https://api.github.com/users/hagberg","html_url":"https://github.com/hagberg","followers_url":"https://api.github.com/users/hagberg/followers","following_url":"https://api.github.com/users/hagberg/following{/other_user}","gists_url":"https://api.github.com/users/hagberg/gists{/gist_id}","starred_url":"https://api.github.com/users/hagberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hagberg/subscriptions","organizations_url":"https://api.github.com/users/hagberg/orgs","repos_url":"https://api.github.com/users/hagberg/repos","events_url":"https://api.github.com/users/hagberg/events{/privacy}","received_events_url":"https://api.github.com/users/hagberg/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/networkx/networkx/milestones/4","labels_url":"https://api.github.com/repos/networkx/networkx/milestones/4/labels","id":236125,"number":4,"title":"networkx-future","description":"Features desired in future releases (unscheduled)","creator":{"login":"hagberg","id":187875,"avatar_url":"https://avatars.githubusercontent.com/u/187875?v=3","gravatar_id":"","url":"https://api.github.com/users/hagberg","html_url":"https://github.com/hagberg","followers_url":"https://api.github.com/users/hagberg/followers","following_url":"https://api.github.com/users/hagberg/following{/other_user}","gists_url":"https://api.github.com/users/hagberg/gists{/gist_id}","starred_url":"https://api.github.com/users/hagberg/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hagberg/subscriptions","organizations_url":"https://api.github.com/users/hagberg/orgs","repos_url":"https://api.github.com/users/hagberg/repos","events_url":"https://api.github.com/users/hagberg/events{/privacy}","received_events_url":"https://api.github.com/users/hagberg/received_events","type":"User","site_admin":false},"open_issues":86,"closed_issues":7,"state":"open","created_at":"2012-12-29T15:43:52Z","updated_at":"2015-01-10T16:23:55Z","due_on":null,"closed_at":null},"comments":33,"created_at":"2012-07-20T23:39:57Z","updated_at":"2015-01-10T16:23:55Z","closed_at":"2015-01-10T16:23:55Z","body":"Original ticket https://networkx.lanl.gov/trac/ticket/640\nReported 2011-09-27 by Oleguer Sagarra <oleguer.sagarra, assigned to @hagberg.\n\nAs done in the reference given at the end of the note, I propose to add to the module: networkx.mixing the following features:\n\n-For directed networks add the option to compute the 'r' coefficient (function networkx.algorithms.mixing.degree_pearsonr) of pairs (In-In, Out-In, Out-Out, In-Out)\n- For weighted networks add the option to compute the r weighted degree coefficient\n- For directed weighted networks add both.\n\nI add a proposal to apply the changes...\n\nReference:\nFoster, J.G., Foster, D.V., Grassberger, P. & Paczuski, M. Edge direction and the structure of networks. Proceedings of the National Academy of Sciences of the United States of America 107, 10815-20 (2010)."}}