Description Usage Arguments Value Author(s) See Also Examples
Reads text table and creates ego-centric graph from it, with the ego actor in the first row and column. The result is a square matrix with common input/output connection' names.
1 | read.egonet(file, sep=",", dec=".", ego.name="EGO")
|
file |
the name of the file which the data are to be read from.
It must be a square matrix, with node's names in the first row and column.
See also |
sep |
as in |
dec |
as in |
ego.name |
column and row name given to the ego subject. The default is |
A square matrix containing the ego-centric network of the data in the file.
F. Gioachin, A. Sciandra, L. Finos <livio@stat.unipd.it>
1 2 3 | dat <- read.egonet("http://www.egonet.associazionerospo.org/egonetdata/q1.csv")
dat
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.