add_edge_size {sgraph} | R Documentation |
Modify the edge size of a sgraph by providing a single size
add_edge_size(sigma_obj, one_size = NULL)
sigma_obj |
sgraph object |
one_size |
A single size to use for all edges |
sgraph with modified edge sizes
library(igraph)
library(sgraph)
data(lesMis)
sig <- sigma_from_igraph(igraph = lesMis) %>%
add_edge_size(one_size = 5)
sig