Earn the Network Analysis Certificate
Practice the exercises below. When you feel ready, attempt the quiz to earn a verifiable certificate you can share on LinkedIn.
Network Analysis Exercises in R: 15 Practice Problems
Fifteen practice problems on network analysis in R with igraph: degrees, centrality, communities, paths, viz.
Exercise 1: Create graph from edges
Difficulty: Beginner.
Show solution
Exercise 2: Number of nodes/edges
Difficulty: Beginner.
Show solution
Exercise 3: Degree
Difficulty: Beginner.
Show solution
Exercise 4: Adjacency matrix
Difficulty: Intermediate.
Show solution
Exercise 5: Plot
Difficulty: Beginner.
Show solution
Exercise 6: Directed graph
Difficulty: Intermediate.
Show solution
Exercise 7: Betweenness centrality
Difficulty: Advanced.
Show solution
Exercise 8: Closeness
Difficulty: Advanced.
Show solution
Exercise 9: Eigenvector centrality
Difficulty: Advanced.
Show solution
Exercise 10: Shortest path
Difficulty: Intermediate.
Show solution
Exercise 11: Connected components
Difficulty: Intermediate.
Show solution
Exercise 12: Community detection (Louvain)
Difficulty: Advanced.
Show solution
Exercise 13: Edge list to data frame
Difficulty: Intermediate.
Show solution
Exercise 14: Read from data frame
Difficulty: Intermediate.
Show solution
Exercise 15: Density
Difficulty: Intermediate.
Show solution
What to do next
- Spatial-Analysis-Exercises (shipped), geographic networks.
- Data-Visualization-Exercises (shipped), viz network plots.
Ready to earn the Network Analysis Certificate?
The quiz is concept-based and respects your time: pass it once and your verifiable certificate is yours to share on LinkedIn, your resume, or your portfolio. Take it when you feel comfortable with the material.
Attempt the quiz→