[statnet_help] statnet_help Digest, Vol 166, Issue 1

Luke, Douglas dluke at wustl.edu
Sat Jun 6 09:08:28 PDT 2020


Chuding,

One quick tip: you need to make sure that you are actually creating a real network object before you calculate appropriate network statistics.

The first missing step in your code is you need to tell the network creation function that you are working with an edgelist.

This should work:

net1 <- as.network(net1.df, matrix.type="edgelist")
summary(net1)

Where 'net1.df' is your dataframe based on the CSV file, and 'net1' will be your new, directed network object.

However, this will not read in the Friend valued ties, that will require more work.

I would encourage you to understand what the betweenness centrality scores are telling you with the non-valued ties first. I myself find it much harder to interpret betweenness of valued-ties.

Hope this helps,

--Doug--


Douglas Luke

Director, Center for Public Health Systems Science

Director, Doctoral Program in Public Health Sciences

Professor, Brown School

Washington University in St. Louis

Campus Box 1196, One Brookings Drive

St. Louis, MO 63130

email: dluke at wustl.edu

Website: <http://ctpr.wustl.edu/> http://cphss.wustl.edu<http://ctpr.wustl.edu/>

________________________________
From: statnet_help <statnet_help-bounces at mailman13.u.washington.edu> on behalf of statnet_help-request at mailman13.u.washington.edu <statnet_help-request at mailman13.u.washington.edu>
Sent: Saturday, June 6, 2020 9:48 AM
To: statnet_help at u.washington.edu <statnet_help at u.washington.edu>
Subject: statnet_help Digest, Vol 166, Issue 1

Send statnet_help mailing list submissions to
statnet_help at u.washington.edu

To subscribe or unsubscribe via the World Wide Web, visit
http://mailman13.u.washington.edu/mailman/listinfo/statnet_help
or, via email, send a message with subject or body 'help' to
statnet_help-request at mailman13.u.washington.edu

You can reach the person managing the list at
statnet_help-owner at mailman13.u.washington.edu

When replying, please edit your Subject line so it is more specific
than "Re: Contents of statnet_help digest..."
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman13.u.washington.edu/pipermail/statnet_help/attachments/20200606/a90dad14/attachment.html>


More information about the statnet_help mailing list