1. सीखें
  2. /
  3. पाठ्यक्रम
  4. /
  5. Predictive Analytics using Networked Data in R

Connected

अभ्यास

Transitivity

In this exercise you will compute the network's transitivity, or clustering coefficient, both on the node level and on the global level.

निर्देश

100 XP
  • Extract the transitivity of each node in the network using the transitivity() function and add it to the network object as a node attribute called transitivity.
  • Make sure you use the type local.
  • To avoid NA values, specify that isolated nodes should get the value zero.
  • Compute the global transitivity of the network using the function transitivity().