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.
This exercise is part of the course
Predictive Analytics using Networked Data in R
Hands-on interactive exercise
Have a go at this exercise by completing this sample code.
# Extract network degree
V(network)$___ <- ___(network, normalized=TRUE)