View source: R/measures_net_dis.R
netdis_expected_counts | R Documentation |
Calculates expected graphlet counts for each ego network based on its density and pre-calculated reference density bins and graphlet counts for each bin.
netdis_expected_counts( graphlet_counts, density_breaks, density_binned_reference_counts, max_graphlet_size, scale_fn = NULL )
graphlet_counts |
Matrix of graphlet and node counts (columns) for a nummber of ego networks (rows). |
density_breaks |
Density values defining bin edges. |
density_binned_reference_counts |
Reference network graphlet counts for each density bin. |
max_graphlet_size |
Determines the maximum size of graphlets to count.
Only graphlets containing up to |
scale_fn |
Optional function to scale calculated expected counts, taking
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.