[R] Calculation of weighted network centrality measures

0 views
Skip to first unread message

Jiang Jenny

unread,
Aug 5, 2014, 11:13:21 AM8/5/14
to r-h...@r-project.org
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

______________________________________________
R-h...@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Jiang Jenny

unread,
Aug 5, 2014, 11:14:00 AM8/5/14
to r-h...@r-project.org

Sarah Goslee

unread,
Aug 5, 2014, 11:20:32 AM8/5/14
to Jiang Jenny, r-help
Hi,

This list doesn't allow most kinds of attachments. Please see the
following link for some ideas on best practices for formulating your
question and provided a reproducible example:

http://stackoverflow.com/questions/5963269/how-to-make-a-great-r-reproducible-example


The posting guide linked at the bottom of this email is also helpful.

Sarah

On Tue, Aug 5, 2014 at 9:04 AM, Jiang Jenny <jiang...@y7mail.com> wrote:
> 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
>
--
Sarah Goslee
http://www.functionaldiversity.org
Reply all
Reply to author
Forward
0 new messages