network-analysis

creating pairs for network analysis

ⅰ亾dé卋堺 提交于 2021-02-10 05:13:25
问题 From my dataset I'm trying to make pairs based on a ranking. my data looks like ID grp rank 1 grp1 1 1 grp2 1 1 grp3 2 2 grp1 1 2 grp2 2 2 grp2 2 2 grp2 2 2 grp3 2 2 grp1 3 The output I am aiming for is the following: for each ID if rank = 1 then grp in source and destination are the same = grp If rank is different from 1 then source = take grp from previous rank destination = take group from current rank If more then one group exist for the same ranking then an additional line needs to be

Loop or vector for creating multiple graphs for network analysis in R

六月ゝ 毕业季﹏ 提交于 2020-01-06 07:00:59
问题 I've created a graph from a dataframe with igraph that shows how students move between vocational courses. The first two columns are 'From' and 'To' which contain the qualification names (vertices) with an occurrence for each time a student enrols in a course for the first time (From) and then enrols in another (To). The remaining columns contain values relating to that particular student's demographics. I'd like to create and plot individual networks for movements 'To' OR 'From' each

Loop to create PDFs of each node in ego network with node ID as file names in R

允我心安 提交于 2020-01-06 05:57:45
问题 I'm creating ego networks from a graph in iGraph with R, as per the answer that was kindly provided to this question. I then want to export each ego network as a plot in a PDF or image file (preferably PDF). As there are 788 'ego networks' in the full dataframe I'd like to make the file name of the PDF match the relevant node ID for the network i.e. the 'From' column of the dataframe. Otherwise it's too hard to find the particular network that I want. How can this be done? Here's a sample of

How to see network packets in Android?

大憨熊 提交于 2020-01-06 01:17:11
问题 I am looking to see when and which apps are accessing the network from my Android Phone. I am looking for something like Wireshark but for Android. I found Shark for Root but it requires a rooted phone, I dont have one. Is there a way to see the network traffic from each app? 回答1: You cannot monitor your own network on the android phone without root, but here is how you can do it on a computer (doesn't require root) If you are on a windows PC, try the following: Install fiddler2 Open and go