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.
Cet exercice fait partie du cours
Predictive Analytics using Networked Data in R
Exercice interactif pratique
Essayez cet exercice en complétant cet exemple de code.
# Extract network degree
V(network)$___ <- ___(network, normalized=TRUE)