statnet

Visualizing the result of dividing the network into communities

送分小仙女□ 提交于 2021-02-07 20:19:38
问题 The dataset is included the network matrix and attribute data frame. Network dataset has 3 data set itself, that I just want to work on PrinFull dataset and also just PRIN attribute data. my data is uploaded in this two link below. I added all attribute on my data set. https://drive.google.com/file/d/1MZCdeAZF0joIQLwVeoVXmKpf7r8IJ2wq/view?usp=sharing https://drive.google.com/file/d/1I96BAUo8TjJMWCWpn_SIhp54snfZ0Bd5/view?usp=sharing I want to plot my community detection algorithm, the code is

How upload a dataframe to ndtv in R?

…衆ロ難τιáo~ 提交于 2020-01-03 03:14:16
问题 My goal is to make a dynamic visualization using three packages in R: ndtv , network , and networkDynamic packages. I have created a dataset with the information ordered according to this example dataset in a workshop for Network Dynamic Temporal Visualizations (on page 7.) According to page 49 of the network dynamic manual, one way to upload a dataset and convert it into a networkDynamic object is as follows: rawEdges<-read.table(paste(path.package("networkDynamic"),"/enron_timebased3.tsv",

get.inducedSubgraph isolated alters

人盡茶涼 提交于 2019-12-12 06:19:17
问题 I have a list containing 3,000 networks. For each of them I need to calculate the density among alters whose attribute "att"==1. I have tried several options, and here is my final code (I am just experimenting with 3 networks). The main problem is that some networks do not containing any alter for which "att"==1. Since get.inducedSubgraph don't work for these cases, I am trying to eliminate them. However, I still get an error message. Trying different options it seems to me that the message

How upload a dataframe to ndtv in R?

对着背影说爱祢 提交于 2019-12-08 05:01:28
My goal is to make a dynamic visualization using three packages in R: ndtv , network , and networkDynamic packages. I have created a dataset with the information ordered according to this example dataset in a workshop for Network Dynamic Temporal Visualizations (on page 7.) According to page 49 of the network dynamic manual, one way to upload a dataset and convert it into a networkDynamic object is as follows: rawEdges<-read.table(paste(path.package("networkDynamic"),"/enron_timebased3.tsv", sep=''),header=TRUE) However, when I attempt to run animation.render(rawEdges) R throws up an error