I need help creating a social network object called proximity.net
which reflects the proximity network and which has the names of the actors appropriately reflected in the vertex.names
node attribute. Output the adjacency matrix for this network
object.
Currently, I have done the following:
coworking.adjacency.matrix <- matrix(c( 0, 1, 1, 0, 0, 0, 1, 0, 1 , 0, 0, 1, 1, 1, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 0, 1, 0, 0, 0, 1, 1, 0, 0, 0), nrow = 6, byrow = TRUE, dimnames = list(c("Abigail", "Francis", "Christy", "Bob", "Daniel", "Ethan"), c("Abigail", "Francis", "Christy", "Bob", "Daniel", "Ethan")))
coworking.adjacency.matrix