BaşlayınÜcretsiz Başlayın

Degree, closeness & betweenness

We will examine the well-known Kite network introduced by Krackhardt in 1988. The name stems from the fact that the network structure resembles a kite. Let’s now calculate some of the centrality measures, such as degree, closeness and betweenness, that we discussed before. The kite-network kite and the igraph library are already loaded in your workspace.

Bu egzersiz

Fraud Detection in R

kursunun bir parçasıdır
Kursu Görüntüle

Uygulamalı interaktif egzersiz

Bu örnek kodu tamamlayarak bu egzersizi bitirin.

# Plot network kite
plot(kite)

# Find the degree of each node
___

# Which node has the largest degree?
___

# Plot kite with vertex.size proportional to the degree of each node
plot(kite, vertex.size = 6 * degree(kite))
Kodu Düzenle ve Çalıştır