DACSS / POLISCI753_tutorials

1 stars 12 forks source link

Investigate sna::network.edgecount anomalies in tutorial 2 #6

Open stevelinberg opened 2 years ago

stevelinberg commented 2 years ago

sna::network.edgecount() is returning 0 for the gotbook.stat network object. sna's print() function shows it has 1543 edges.

I suspect this is because the na edge attribute was deleted from the network object in the data preparation script; I have not yet tested this. It is not clear to me why the na attribute is removed; I think it should stay in. There's nothing in the documentation that I've found so far that explains why it's removed.