Skip to content

ajaynair710/social-network-analysis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Social Network Analysis in R using igraph

This repository contains R code for performing social network analysis using the igraph package. Social network analysis is a method for analyzing the structure of social networks, including relationships between individuals or entities.

Prerequisites

Before running the code, make sure you have the following:

  • R programming language installed on your system.
  • Required R packages: igraph.

Instructions

  1. Clone the Repository:

    git clone https://github.com/ajaynair710/social-network-analysis.git
  2. Run the R Code:

    • Open RStudio.
    • Set the working directory to the location where you cloned the repository.
    • Run the R script social_network_analysis.R. This script contains code for network creation, visualization, and analysis using igraph.
  3. View Results:

    After running the R script, you'll generate various plots and analyses related to the social network data.

Contents

  • social_network_analysis.R: R script containing code for social network analysis.
  • networkdata.csv: Sample CSV file containing network data.
  • Other supporting files as required.

About the Code

  • The R script social_network_analysis.R demonstrates various aspects of social network analysis, including network creation, visualization, and analysis measures.
  • It utilizes the igraph package in R for network-related functionalities.

References

About

Social Network Analysis with R

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages