egor is a package in R for importing, analyzing and visualizing ego-centered network data. Ego-centered networks are here understood as the network of a focal actor (ego), including the relationships of ego to alters and the relationships between these alters (also called ego-centric networks or personal networks). The intention of egor is to enable users to conduct ego-centered network analysis with very basic R programming knowledge.

What is egor developed for?

Installation of R, R-Studio and egor

  1. Installation of R can be done from http://cran.r-project.org/
  2. Installation of a graphical user interface such as R-Studio via www.rstudio.com (optional, but recommended)
  3. Installation of egor:

Basic functionality

Find basic functionality listed below.

The import functions

Depending on how your source data look like (“one file”, “two filed”, “folders” format; find a more detailed explanation here [hier deine ppt aus dem Kurs hinterlegen zu den formaten]) you will choose one of these functions to load ego-centered network data and generate the egoR object.

read.egonet.one.file(egos, netsize, egoID = "egoID", attr.start.col, attr.end.col, dy.max.alteri, dy.first.var, ego.vars = NULL, var.wise = F)

read.egonet.two.files(egos, alteri, netsize = NULL, egoID = "egoID", alterID = NULL, e.max.alteri, e.first.var, ego.vars = NULL, selection = NULL)

read.egonet.folders(egos.file, alter.folder, edge.folder, csv.sep = ",",egoID = "egoID", first.col.row.names = FALSE)

EgoR object is a list of six objects:

  1. egos.df: dataframe of all egos and their attributes
  2. alteri.df: dataframe of all alteri
  3. alteri.list: list of dataframes of all alteri per ego
  4. edges: list of dataframes with edge lists per network
  5. graphs: list of igraph objects
  6. results: a result dataframe, pre-populated with the network size of each network

Analysis

egor allows to calculate a range of network measures, e.g.:

Visualization

Workhshops with egor (fomerly egonetR)

egor is regularily (introd)used in workshops. Please find a list of past and upcoming events below:

Future Workshops

Past Workshops