Description Usage Arguments Value References
This function imports ego-centric network data, stored in a single file, providing ego, alter and edge data. This data format is for exampled used by the Allbus 2010 (GESIS) and similar social surveys.
1 2 | 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)
|
egos |
|
netsize |
|
egoID |
|
attr.start.col |
First colum containing alter attributes. |
attr.end.col |
Last colum containing alter attributes. |
dy.max.alteri |
Maximum number of alteri. |
dy.first.var |
First column containing alter-alter relations/ edges. |
ego.vars |
A |
var.wise |
Logical value indicatin if the alter attributes are sorted variable wise (defaults to FALSE). |
A list
of six objects - the **egoR** object: (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
Muller, C., Wellman, B., & Marin, A. (1999). How to Use SPSS to Study Ego-Centered Networks. Bulletin de Methodologie Sociologique, 64(1), 83–100.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.