1. Learn
  2. /
  3. Courses
  4. /
  5. Predictive Analytics using Networked Data in R

Exercise

Visualizing Churners

In the previous exercises, you noticed that it can be difficult to visualize a large network. Now you will visualize only the churners in the network by conditioning on the churn attribute.

Instructions

100 XP
  • Create a new igraph object called churnerNetwork.
    • Use the function induced_subgraph() to generate a subgraph of the already existing network.
    • Select the nodes that have the node attribute churn equal to 1.
  • Visualize churnerNetwork using plot().