Description Usage Arguments Value Examples
This function uses an 'egoR' object (list of data objects created by an egonetR import function) and calculates the density of all the ego-centered networks listed in the 'egoR' object.
| 1 | egoR.density(egoR, weight = NULL, max.netsize = NULL, directed = FALSE)
 | 
| egoR | A list of six data objects, created by one of egonetR's import functions. | 
| weight | 
 | 
| max.netsize | Optional parameter. Only needed if the density information was only collected for a subsample of all alteri per network. | 
| directed | logical indicating if the alter-alter relation data/ edges are directed or undirected. | 
returns a vector of network density values.
| 1 2 | data("egoR32")
egoR.density(egoR32)
 | 
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.