IniziaInizia gratis

Simple network features

In this exercise, you will extract simple network features from the churn network and add them to the network object as node attributes. The igraph object called network with the node attribute Churn, indicating customers who have already churned, has been pre-loaded. The igraph library has also been loaded for you.

Questo esercizio fa parte del corso

Predictive Analytics using Networked Data in R

Visualizza il corso

Esercizio pratico interattivo

Prova a risolvere questo esercizio completando il codice di esempio.

# Extract network degree
V(network)$___ <- ___(network, normalized=TRUE)
Modifica ed esegui il codice