Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Yixiong Xu-- Assignment 3 #208

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

YixiongXu
Copy link

No description provided.

sort(betweenness(g), decreasing = TRUE)

```
#Clearly Yifei Zhang has the highest 'betweeness centrality'.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#Clearly 'Yifei Zhang' has the highest 'betweeness centrality'. Yifei has the degree of "24", which is the second highest in the class. And she has the betweenness(g) of 260.6143603, which is the highest in the class. Therefore, she is the most central person in the course while discussing the p-p network (courses).

```{r}
interest <- as.factor(g$InterestedTopics)
plot(C4, layout=layout_as_star, vertex.size = 1.5, vertex.label.cex=0.6, vertex.label.color= "lightblue", vertex.color=interest)
#It was clear that the Clusters were divided into two groups, with some scattered nodes outside.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Two groups. It's more dispersed than major.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant