Questions tagged [sna]

Social network analysis (SNA) is the methodical analysis of social networks. Social network analysis views social relationships in terms of network theory, consisting of nodes (representing individual actors within the network) and ties (which represent relationships between the individuals, such as friendship, kinship, organizational position, sexual relationships, etc.)

296 questions
0
votes
2 answers

Network graph with all possible paths for three contexts in a data frame and superimposing

I want to make a network graph with all possible ways a letter/postcard can go from initial to final destination (there are three letters in the datasets, see figure below). Here is the dummy data. postcard<- c('loveletter#234', 'loveletter#234',…
user3570187
  • 1,743
  • 3
  • 17
  • 34
0
votes
0 answers

Network graph on all possible ways a letter/postcard can reach a person

I have a data frame in the following format. I want to make a network graph with all possible ways a letter/postcard can go from initial to final destination. Here is the dummy data. postcard<- c('loveletter#234', 'loveletter#234', 'loveletter#234',…
user3570187
  • 1,743
  • 3
  • 17
  • 34
0
votes
1 answer

Creating adjacency matrix from raw data for centrality

Following up on my previous question, I would like to create degree centrality for with the following data. I tried to replicate the previous example on stackoverflow (how to find degree centrality of nodes in a matrix?) but I had some challenges. …
user3570187
  • 1,743
  • 3
  • 17
  • 34
0
votes
0 answers

Configuring IP-DLC Link TO AS400 issue

I have created a IP-DLC link by following "Configuring IP-DLC Link Service for IBM Enterprise Extender White Paper" document Please help me to resolve this error. BIND(-RSP) request received in response to a BIND request Sense code …
0
votes
1 answer

Creating pairs from Group Membership Data

first of all, sorry for this probably stupid question but I'm getting really frustrated and desperate after 7 hours of using google and doing trail & error... I have a list of user IDs and groups they belong to. I need a list of all combinations of…
phil
  • 3
  • 2
0
votes
1 answer

"Error in if ((v<1)|| (v>n)) return(numeric(0)): missing value where TRUE/FALSE needed (ERROR FACED)

I am trying to implement social network analysis and have arranged the data in the format wherein the data set has 3 columns with first indicating the sender and second indicating the receiver and third indicating the strength of the message being…
sarora
  • 9
  • 1
0
votes
1 answer

How to choose layout for two-modes using igraph and avoid overlapping?

The dataset I need to plot is very large and is two-modes. One is about students and another is about projects they share. I use igraph and tried several layouts. None of them is satisfactory. Layout with kk is relatively informative. Here is what…
Miya Wang
  • 219
  • 2
  • 3
  • 7
0
votes
1 answer

Gephi/NodeXL - measurement difference (betweenness/closeness)

I am trying to understand how Gephi/NodeXL measures Betweeness and Closeness Centrality or rather why there is a difference in measurement. A twitter network with 1004 nodes and 2314 edges was sent to me. I measured centrality both in Gephi and…
0
votes
2 answers

Error running the "netlm" command (sna)

I have four matrices of one multigraph, like this: > projects 1 2 3 4 5 1 0 0 4 1 0 2 0 0 3 2 5 3 0 0 0 0 0 4 0 0 0 0 1 5 0 0 0 0 0 > infrastructure 1 2 3 4 5 1 0 0 0 5 0 2 0 0 4 0 0 3 0 0 0 2 2 4 0 0 0 0 3 5 0 0 0 0 0 > information 1 2 3 4…
Sebastián
  • 111
  • 8
0
votes
1 answer

How can I open .net files with package sna in R?

I have a lot of .net files, and the package tutorial says it is possible to use this format with sna. My error message is: > Error in FUN(X[[1L]], ...) : as.edgelist.sna input must be an > adjacency matrix/array, edgelist matrix, network, or…
Übel Yildmar
  • 491
  • 1
  • 9
  • 24
0
votes
1 answer

Retrieve real node ids from max_cliques in R

I use function max_cliques in R from package igraph to get cliques from a social network using the following commands. edges<-read.csv2("edges.csv", header = TRUE, sep = ",") nodes<-read.csv2("nodes.csv", header = TRUE, sep = ",") graph <-…
0
votes
1 answer

Creating a loop for a list of igraphs?

I am using igraph in R, and I have an edgelist (g) of about 9000+ interactions which occured within 78 groups. I used the decompose function to create a list of 78 individual igraphs (dg). I want to calculate the eigenvectors for each of the…
0
votes
1 answer

Using the nodes argument for centrality metrics in sna

I am trying to calculate centrality metrics for a specific node within a graph using statnet (I can't just use igraph since it doesn't have certain metrics I'd like). How do I use the nodes argument of these functions to specify this? For example,…
saladi
  • 3,103
  • 6
  • 36
  • 61
0
votes
0 answers

Graph Layout in igraph

I am trying to gerate gexf file using igraph but unfortunatly I have a problem with layout. How can I solve it to get a good graph like second one. First image created with 1000 nodes but second one with 500 gD <-…
0
votes
0 answers

How to get the subgraph corresponding to a specific triad?

I was wondering how to get the subgraph corresponding to a specific triad. E.g., suppose I have a graph g and that: triad_census(g) [1] 16 8 0 10 1 0 0 0 0 0 0 0 0 0 0 0 I'd like to extract graph corresponding to the 5th triad, is to…
Umberto
  • 11
  • 5