[R] Calculation of network centrality measures weighted by network size

Jenny Jiang yun.jiang at student.unsw.edu.au
Mon Aug 4 13:50:41 CEST 2014


Hello,

My name is Jenny Jiang and I am a Finance Honours research student from the University of New South Wales Australia. Currently my research project involves the calculating of some network centrality measures in R, which are degree, closeness, betweenness and eigen vector. However I am having some issue regarding to the calculation of the weighted centrality measures by network size. For example, currently my code allows me to calculate centrality measures for each firm year, and now I would like to calculate centrality measures weighted by the firm network size for each firm year. I have attached my current R code and a data example for you in .txt format to have a look. If you could provide me the R code regarding to how to do that that would be really helpful.

I cannot be more than appreciated.

Best regards

Jenny
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: data example 2.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20140804/92262aa4/attachment.txt>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: centrality code.txt
URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20140804/92262aa4/attachment-0001.txt>


More information about the R-help mailing list