[R] Hello

2022-03-08 Thread Shrinivas Dharma
Hello I am not sure if this is the right place to ask the question of my type. Nonetheless, being desparate , let me ask I am wirking on a social network analysis project with R igraph software. My graph data has multiple edges and multiple self loops Going by the instructions I used the simp

[R] Please help me debugg

2021-11-05 Thread Shrinivas Dharma
I am trying to run the following double loop which I have written but it is not running. Unable to get my head around the mistake. Please try to spot the bug and help > for(i in 1:122){ + for(j in 1:68){ + if(V(FriendGraph)$name[i]==names[j]){ + gender_vector[i]<-sex[j] + break;} + else{gender_ve