View source: R/Main_functions.R
restrict_network_degree | R Documentation |
Limit the number of edges per node within a network
restrict_network_degree( df_corr, var_order = "r_corr", decreasing = TRUE, source = "name_1", target = "name_2", nmax = NULL, strict = TRUE )
df_corr |
a data.frame |
var_order |
column in |
decreasing |
logical, use decreasing order to order network edges according to column |
source |
column with source nodes |
target |
column with target nodes |
nmax |
integer, limits the number of edges per node |
strict |
logical, if TRUE, ensures a strict upper bound on the maximal degree |
a network with a maximum degree lower than nmax
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.